Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

[v2] build size is too large #328

@pimlie

Description

@pimlie

When working on v2.0 I was advised to follow the doctrine of letting the transpiler worry about language features, but it seems this resulted in a hugh increase in package size. Current v2 minified size is ~30KB

Possible solutions:

  • fix the build (maybe I am missing a magic feature in the rollup config?)
  • refactor to dont use 'modern' language features
  • create separate umd-classic and umd-modern builds with modern being the default

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