-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove junk from dist #908
Comments
There's ~2.3 MB of files in node_modules\rx\ts we probably don't need |
Here's a fun idea, you could use |
That's an interesting idea. We do have the standalone .js file built using Webpack, I wonder if we can get Webpack to output the dependency tree in a similar way and use that. We do need to keep the LICENSE files, so we should be sure to special-case those regardless of the approach we take 😄 |
Not needed now that we have a flat bundle (#3030) |
There's a bunch of files in
dist
that we don't actually need, mainly readmes and examples from third-party modules. This unnecessarily bloats out the download size. I already had to clean up some of them to avoid lint errors in the Debian package (https://github.com/yarnpkg/yarn/blob/master/scripts/build-deb.sh#L45-L47) but we should try to clean up other stuff where possible.The text was updated successfully, but these errors were encountered: