Just for clarification, to convert a Node 14 Lambd...
# help
Just for clarification, to convert a Node 14 Lambda from being bundled as CJS to being bundled as ESM, all that is required is to mark https://docs.serverless-stack.com/constructs/Function#format to
? All should be well, tree-shook, etc?
I think Dax has this has all been sorted out now, though you will wanna be on a version after this landed. https://github.com/serverless-stack/serverless-stack/commit/1f1e45f27ffd513c2aa4d5196490faded33d71cb
Generally esbuild has been pretty good at shaking things out, however I have had to add
comments occasionally to make sure it knew its cool to drop it.
Thanks @Ross Gerbasi.
@Derek Kershner yeah setting
should just work. Let us know if otherwise.