New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [2h Timebox] Lambdas are including aws-cdk-lib in the bundle #260
Comments
Actual outcomes: These are the current sizes of our staging lambdas: This is big but not enormous. Options were explored for resolving this issue. We are building the code in The follow up suggestion is therefore to use esbuild rather than tsc as our bundler, for both bundle size and observability. Follow up ticket: https://github.com/users/mattzcarey/projects/1/views/1?pane=issue&itemId=38625966 |
Description:
Lambdas are pretty huge. They are obviously including lots of stuff which we shouldnt package in them. aws-cdk-lib is the obvious one. It is normally down to module resolution in commonjs.
Expected Outcomes:
Know what the issue is and the most pragmatic way to fix it.
The text was updated successfully, but these errors were encountered: