This message was deleted.
# typescript
s
This message was deleted.
d
looks like you need to use webpack (or similar alternatives) to shrink your lambda / dependencies
g
Are there examples of this anywhere? I'm trying to wrap my head around the workflow here to find out what's even causing this. Is there a hook I can print what's actually being sent to AWS in the "magic" callback functions?
d
I don't know if there's a way but what we do, our workflow is something like yarn typecheck ; yarn test; yarn build (which does the webpack) Then in the lambda definition in pulumi we pinpoint the folder that webpack outputs to
HTH I really need to find the time to blog some of my last 6 months learnings on pulumi there's not enogh online
💯 1
👍 1