Skip to content

core-js duplicates installed #583

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

Closed
tmcw opened this issue Nov 1, 2016 · 2 comments
Closed

core-js duplicates installed #583

tmcw opened this issue Nov 1, 2016 · 2 comments

Comments

@tmcw
Copy link
Member

tmcw commented Nov 1, 2016

documentation.js is huge on npm install, for a weird reason:

npm v2.15.9

npm install documentation

2016-11-01 at 3 30 pm

All of the red is duplicate installations of core-js

2016-11-01 at 3 31 pm

  • 57MB: documentationjs without core-js
  • 372MB: documentationjs with core-js

Each core-js module install is 1.85MB and even though they're all the same exact version, npm installs one copy for every single babel transform.


Actions: I have no idea, this is bad.

@chadxz
Copy link
Contributor

chadxz commented Nov 1, 2016

for comparison, here's npm 3.10.9

image

that is with 78ac0b0 checked out.

@tmcw
Copy link
Member Author

tmcw commented Nov 1, 2016

Looks like we just need to say "no more npm v2" and go anything but npm v2, whether that's v3 or yarn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants