-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore(monocdk): bundle lambda handlers #6096
Conversation
Bundle all the rest of the module code into the monocdk bundle. Current size: 14MiB (compressed)
packages/monocdk-experiment/gen.js
Outdated
@@ -4,6 +4,9 @@ const fs = require('fs-extra'); | |||
const path = require('path'); | |||
const glob = require('glob'); | |||
|
|||
const INCLUDE_DIRS = [ 'lib', 'lambda', 'lambda-packages' ]; | |||
const EXCLUDE_DIRS = [ 'lib', 'test', 'node_modules', 'scripts', 'build-tools', 'rosetta', 'suffixes' ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need lib
in both lists, right? Just in the include should be sufficient.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
in order to ensure that the bundled module is not polluted by the mono-repo and that we actually bundle non-jsii dependencies.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Bundle all the rest of the module code into the monocdk bundle.
Current size: ~30MiB (compressed)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license