Skip to content

Rollup bundle sizes #6393

@pshrmn

Description

@pshrmn

Version

v4.4.0-beta.2

I was just looking at the build sizes on unpkg and they are much bigger than I expected.

For the ES/CJS builds, I believe that all dependencies should be considered externals. With Curi, I import the dependencies from package.json and pass the package names to Rollup as externals.

The UMD builds also grew from beta 1 to beta 2, but I'm not sure about the cause for that.

There is also a great Rollup plugin that I have been using to see bundle sizes: rollup-plugin-size-snapshot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions