-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Provide an es import compatible build #1044
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
Comments
Worth noting is that Immutable greatly benefits from gzipping, so the actual size comes down to 15.21 kb (with level 9 compression). |
Yeah this would be great to have, but it's not easy to implement incrementally - some breaking changes would be necessary. Specifically right now all types have a However I don't actually think you would shave much from the ~15kb build already. That's roughly split into thirds: Map, List, and everything else. |
Merging into #317 |
I have just one note regarding Maybe RxJS operators are similar case: |
Looking at my build, currently Immutable takes up
139.14 KB
. I only use a few things from Immutable, so it would be nice to only pay for what I use.Proposed solution
Provide an
es6
build which compiles everything down except for modules, much likereact-router
,reselect
,redux
, etc. This way, the user can rely on their module bundler to perform tree shaking to only include what is neccesary.Would this be possible to implement?
The text was updated successfully, but these errors were encountered: