-
Notifications
You must be signed in to change notification settings - Fork 246
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
Incorrectly Packaging node_modules In Distribution #3906
Comments
Hi @GEMISIS We will need some more information on this. JSII doesn't really package anything itself. jsii-pacmak is using |
The project in question where this is occuring can be found at https://github.com/GEMISIS/discord-bot-cdk-construct It sounds like maybe |
You have a number of bundled dependencies: https://github.com/GEMISIS/discord-bot-cdk-construct/blob/main/package.json#L98-L106 It is expected that |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
When packaging my distribution, JSII is bundling the
node_modules
directory as well for the javascript distribution. This drastically balloons up the size, and there is no way to prevent it from doing so.Expected Behavior
Don't bundle the
node_modules
directory with js distributions.Current Behavior
It's bundling the
node_modules
directory with js distributions.Reproduction Steps
Just do a normal build with whatever dependencies you ahve.
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.72.0
Environment details (OS name and version, etc.)
Mac OS X (Intel)
The text was updated successfully, but these errors were encountered: