Skip to content
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

Bundled es6.js for client #322

Closed
abhijeetkpawar opened this issue Jul 29, 2017 · 1 comment
Closed

Bundled es6.js for client #322

abhijeetkpawar opened this issue Jul 29, 2017 · 1 comment

Comments

@abhijeetkpawar
Copy link

It will be good to have bundled es6.js and probably es7.js, so as to include only that part for client usage

@zloirock
Copy link
Owner

zloirock commented Aug 17, 2017

Here 2 problems:

  • It's additional size in the package. Someone still uses npm@2, core-js is a too frequent dependency and sometimes we have dozens of core-js copies in node_modules. I have too many issues about core-js package size. It could be solved by creating separate packages with bundles, but...
  • the second problem is core-js architecture. It's many small separate modules, they use shared helpers and stores. Usage both - es6 and es7 - separate bundles can cause problems with interaction those modules and will add additional size.

Most likely, in core-js@3 we will have only 1 default bundle - with a global shim. If you wanna something specific - you can bundle it yourself.

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