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

Bundles babel-runtime unnecessarily #77

Closed
tinder-vjancik opened this issue Jan 19, 2017 · 3 comments
Closed

Bundles babel-runtime unnecessarily #77

tinder-vjancik opened this issue Jan 19, 2017 · 3 comments

Comments

@tinder-vjancik
Copy link

This is a small library, you are bundling with it babel-runtime and distributing it through npm.

The babel-runtime bloats the size of this library to:
Unminified: 67kB
Minified: 25kB
Gzipped: 8kB

Could you please polyfill selectively? babel-runtime is a huge dependency.
You don't seem to use that many non ES5 functionality anyway.

@tinder-vjancik
Copy link
Author

I actually can't find a single primitive, in need of polyfilling, in your 3 code files.
Removing babel-runtime reduces the library size to 19kB

@tinder-vjancik
Copy link
Author

Implemented here: #78

@yocontra
Copy link
Owner

Thanks!

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