Rollup bundle sizes
See original GitHub issueVersion
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.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (10 by maintainers)
Top Results From Across the Web
rollup-plugin-bundle-size - npm
Start using rollup-plugin-bundle-size in your project by running `npm i rollup-plugin-bundle-size`. There are 40 other projects in the npm ...
Read more >vimeo/rollup-plugin-bundle-size - GitHub
A rollup plugin to show the size of the generated bundle(s). - GitHub - vimeo/rollup-plugin-bundle-size: A rollup plugin to show the size of...
Read more >Does my bundle look big in this? - LogRocket Blog
Rollup takes a different approach — it puts all code at the same level, which is known as scope hoisting. The resulting bundle...
Read more >rollup.js
Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library...
Read more >rollup-plugin-summary - GitHub Pages
Name Type Default
warnLow? number 5000
warnHigh? number 10000
totalLow? number 200000
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It’s coming in my next pr, dont worry
I think we did it. High five! ✋