question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rollup bundle sizes

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
TrySoundcommented, Oct 16, 2018

It’s coming in my next pr, dont worry

1reaction
timdorrcommented, Oct 17, 2018

I think we did it. High five! ✋

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found