8000 Provide an es import compatible build · Issue #1044 · immutable-js/immutable-js · GitHub
[go: up one dir, main page]

Skip to content
Provide an es import compatible build #1044
Closed
@ianks

Description

@ianks

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 like react-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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0