-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
published transformer-js package contains 150MiB of swc binaries #8995
Comments
Yes, this should be fixed.
We should do the same as swc/lightningcss/esbuild: one npm package per platform as |
Not stale |
yeah, this is huge file, which is causing problems when doing npm i from our self hosted artifactory, please resolve this, open to contribute if someone can mentor. ~/workspace $ du -h package |
bump |
bump |
🐛 bug report
As of
@parcel/[email protected]
(ba57b65), the published npm package contains prebuilt swc binaries for 8 platforms. In the latest version of the package, these add up to 150 MiB.I tried searching for mentions of this being a conscious decision but coming up short, this issue asks if there are changes that can be done in bundling to bring the installation size of this package down.
🤔 Expected Behavior
I can use have a bunch of isolated gatsby environments checked out side-by-side an a consumer-grade laptop.
😯 Current Behavior
The
node_modules
directories fill up the disk quickly.💁 Possible Solution
Build locally (node-gyp approach) as lifecycle script?
The text was updated successfully, but these errors were encountered: