-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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]: node_modules is 660mb bigger due to @swc and @esbuild packages #24375
Comments
Hi @bbellmyers, Thank you for the bug report! I tried to verify the numbers on a React 18 (Webpack) project, and here are my stats (in kilobytes): 73668 Could you provide a reproduction or tell me which renderer and builder you are using? I will try to figure out, whether I can reproduce your numbers. |
@bbellmyers That's an issue in Yarn v1 described here; you either need to upgrade Yarn or switch to another modern package manager. @valentinpalkovic to reproduce the issue, you'd need to use yarn v1. |
@o-alexandrov Thanks for letting us know! In that case, we cannot do much but advise people to upgrade to yarn 2/3. I am closing this issue. @bbellmyers Let me know if the problem occurs with other package managers except of yarn 1. |
I am using npm |
@bbellmyers platform-specific packages that are not for your operating system are ignored in your specified
|
Hi there! Thank you for opening this issue, but it has been marked as |
I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding. |
Describe the bug
Just upgraded to latest Storybook and now my node_modules is huge, primarily due to the new @swc and @esbuild packages. This is breaking my CI system due to the huge build images required. What can be done to trim this back?
To Reproduce
install Storybook. Note node_modules size.
node_modules % du -sk * | sort -rnk1
404140
@swc
202700
@esbuild
54668
@storybook
System
Additional context
No response
The text was updated successfully, but these errors were encountered: