Rollup
Reasonable, with limits. 6th of 10 build tools.
Rollup is the mature ES-module bundler whose plugin API and tree-shaking set the standard for library builds. It is still released very often and is safe to use. For new projects, though, Vite 8 has switched to Rolldown, and Rolldown or tsdown now do the same job much faster with a largely compatible API. That makes Rollup a solid choice, but no longer the leading one.
Best for: Library authors who want a proven, plugin-rich bundler with very clean ESM output and can accept slower builds.
Scores
Overall6.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Rollup is well maintained, mature and safe, and it remains a fine library bundler. But Rolldown now does the same job with a largely compatible plugin API at much higher speed, and Vite has switched to it. For new apps, pick Vite. For new libraries, tsdown or Rolldown are usually the better start, and Rollup is the conservative fallback.
- vite.dev/blog/announcing-vite8: Vite 8 drops Rollup in favour of Rolldown.
- pkgpulse.com/guides/bun-build-vs-rolldown-vs-tsdown-typescript-libraries-2026: tsdown and Rolldown are increasingly chosen over raw Rollup for libraries.
- github releasesLastYear: Still actively released: 60 releases in the last year.
GPT-6.2 Sol: 7.4, likely 6.3 to 8.4
Rollup is a strong choice for libraries that need compact bundles, several output formats, or specific Rollup plugin behavior. Vite is the better default for new apps, and Rolldown is a faster starting point for many standalone builds that can use its compatible API. Frequent releases support choosing Rollup today, while its future appeal depends on how much teams still need its particular output and plugin behavior.
- rollupjs.org/configuration-options: Granular control over chunks, externals, and output formats.
- github.com/rollup/rollup/releases: Regular releases and continuing fixes for generated code.
- vite.dev/blog/announcing-vite8: Vite offers a complete app workflow and now uses Rolldown.
- rolldown.rs/guide/getting-started: Standalone bundler supports most Rollup plugins.
- github.com/rolldown/benchmarks/blob/main/README.md: Published large-build timings favor Rolldown.
Needed by many5.9
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most front-end and library developers need bundling. Rollup's own take is a production bundler without a dev server, which fits library authors and custom pipelines best. Most app developers now reach it only through a framework, if at all.
- category.job: Bundling is a broad need across front-end work.
- dev.to/thedailyagent/javascript-bundlers-in-2026-vite-rspack-turbopack-and-the-end-of-an-era-16hk: App bundling has moved to Vite, Rspack and Turbopack.
GPT-6.2 Sol: 5.8, likely 4.7 to 6.9
Front-end build tools serve a large share of JavaScript and TypeScript developers. Rollup works across frameworks, but its standalone appeal is strongest for library authors and teams with custom production builds. The State of JavaScript survey puts Vite and webpack ahead in usage, and the share of teams that need Rollup's output controls is hard to measure.
- 2025.stateofjs.com/en-US/libraries/build-tools: Vite and webpack lead reported build-tool usage.
- rollupjs.org/introduction: Framework-independent bundling, tree shaking, and library output formats.
- vite.dev/blog/announcing-vite8: Vite integrates a dev server and production builds.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Rollup gives excellent tree-shaking, clean multi-format output, a well-documented plugin API and good types. AI agents also know it well. Its limits are speed and the need for plugins for TypeScript and JSX. Rolldown now offers a near-compatible API at 10–30x the speed, so a peer does much of the same job better.
- infoq.com/news/2025/11/rolldown-bundler-rust: Rolldown is a faster Rust bundler that targets the Rollup API; it also notes the JS–Rust overhead of Rollup 4's SWC parser.
- rollupjs.org/migration: Rollup 4 uses a native SWC parser, and plugins can no longer add unsupported syntax such as JSX.
- npm hasTypes: Ships its own TypeScript types.
GPT-6.2 Sol: 7.9, likely 6.8 to 8.9
Rollup 4.68.8 combines precise tree shaking and output controls with typed hooks and diagnostics that can point to the source. An independent React benchmark found that Rollup often produced smaller bundles and took longer to build than esbuild. The documented types and examples give coding agents a good starting point, while custom plugins make performance and configuration correctness more dependent on the project.
- rollupjs.org/configuration-options: Documents tree shaking, chunking, output formats, and source diagnostics.
- rollupjs.org/plugin-development: Typed hooks and examples for custom transforms and logging.
- github.com/s1owjke/js-bundler-benchmark: Independent cold-build tests show a size and speed tradeoff.
- github.com/rolldown/benchmarks/blob/main/README.md: Competitor-run tests show much slower Rollup builds on a large fixture.
- github.com/rollup/rollup/releases/tag/v4.68.8: Current stable release fixes generated output in some circular imports.
Holds up over time6.7
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
Maintenance is strong: 435 commits and 60 releases in the last year, and a release on the day we read the data. But the ecosystem is moving to Rolldown, which Vite 8 adopted in March 2026. Work also depends heavily on one lead maintainer funded through donations.
- github commitsLastYear / releasesLastYear: 435 commits and 60 releases in the last year.
- vite.dev/blog/announcing-vite8: Vite 8 replaces esbuild and Rollup with Rolldown.
- theregister.com/2026/03/16/vite_8_rolldown: Vite 8 stable shipped on Rolldown in March 2026.
- Rollup maintainership: Mostly led by a single core maintainer, funded through Open Collective.
GPT-6.2 Sol: 7.3, likely 6.1 to 8.5
Rollup recorded 435 commits and 60 releases in the past year, has community funding, and has a public Rollup 5 proposal. Maintainers reversed a recent bundling regression on the day it shipped, though some pull requests have been open for months. Recent releases rely heavily on one maintainer, and Vite's move to Rolldown makes future ecosystem support less predictable.
- github commitsLastYear and releasesLastYear: 435 commits and 60 releases over the past year.
- github.com/rollup/rollup/releases: Frequent fixes, a same-day rollback, and concentrated maintenance.
- github.com/rollup/rollup/pulls: Several contributor pull requests have remained open for months.
- github.com/rollup/rollup/pull/5994: Public work toward Rollup 5.
- opencollective.com/rollup: Community funding with an estimated annual budget of about $28,000.
- vite.dev/blog/announcing-vite8: Vite 8 replaced Rollup with Rolldown.
Used widely7.1
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Rollup still has very large use: 1.13M dependent repos, 130k dependent packages and 654M downloads in 4 weeks, though most downloads come in through Vite 7 and older. Its download ratio of about 3.2x is below the 4.1 median, so it is losing ground. Rolldown's downloads have already reached Rollup's level.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 654M vs 207M, a ratio of about 3.2, below the 4.1 median.
- dependents: 1,133,301 repos and 130,345 packages depend on it.
- peers Rolldown downloadsLast4Weeks: Rolldown is at 654M, up from 7M a year ago.
GPT-6.2 Sol: 7.1, likely 5.8 to 8.4
Ecosyste.ms found 1.13 million dependent repositories and 130,000 npm packages, which points to a large installed base even allowing for uneven coverage. Downloads grew 3.16 times year over year, below the 4.1 catalog median and behind Vite and esbuild. CI and older Vite versions inflate installs, so the direct project count is uncertain and the download trend points to a loss of relative ground.
- dependents: 1,133,301 repositories and 130,345 npm packages in the index.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 654.5 million versus 206.8 million downloads, or 3.16× against 4.1×.
- peers: Faster download growth for Vite and esbuild, with lower indexed repository counts.
- project note and bluesky posts: Vite inflates installs, and seven Bluesky links trail most peers.
- vite.dev/blog/announcing-vite8: Earlier Vite releases used Rollup for production builds.
Vouched for7.3
Who stands behind it being good?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Rollup was Vite's production bundler through v7, and many major libraries build with it. Rolldown was designed to copy its API, which strongly endorses its design. Current signals point elsewhere: Vite moved off it, and State of JS 2025 interest goes to Rolldown, with no clear Rollup satisfaction lead.
- 2025.stateofjs.com/en-US/libraries/build-tools: Rolldown leads interest and is gaining satisfaction; Rollup is far behind webpack and Vite in usage.
- heise.de/-11171168: Survey coverage puts esbuild and Rollup well behind webpack and Vite.
- pkgpulse.com/guides/bun-build-vs-rolldown-vs-tsdown-typescript-libraries-2026: Independent guide calls Rolldown and tsdown the newer defaults for library builds.
GPT-6.2 Sol: 8.1, likely 7.0 to 9.1
React and Vue still use Rollup to build published packages, and independent tests show that it can produce compact bundles. Native bundlers led those tests on speed, and Vite's endorsement carries less weight now that it has switched bundlers. A Qwik user reported needing Rollup after a Vite 8 build broke, but that report covers one integration.
- github.com/react/react/blob/main/scripts/rollup/build.js: React uses Rollup in its release build script.
- github.com/vuejs/core/blob/main/rollup.config.js: Vue uses Rollup for production package formats.
- github.com/s1owjke/js-bundler-benchmark: Independent benchmark verifies compact output on several React builds.
- vite.dev/blog/announcing-vite8: Former downstream user credits the plugin API and documents its switch.
- github.com/vitejs/vite/discussions/22820#discussion-8659657: Qwik user reports a build regression after moving to Vite 8.
Safe7.6
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Rollup has one runtime dependency and optional platform binaries, an MIT licence and an OpenSSF Scorecard of 7.1. The 2026 path-traversal advisory was fixed across all three major lines (2.80.0, 3.30.0, 4.59.0), which shows good handling. Weak spots are Token-Permissions at 0, Code-Review at 5, no fuzzing, and native binaries pulled from npm.
- advisories: Two HIGH advisories, in 2024 and 2026, both fixed.
- osv.dev/GHSA-mw96-cpmx-2vgc: The path traversal fix was backported to the 2.x, 3.x and 4.x lines.
- scorecard: Score 7.1; Token-Permissions 0, Code-Review 5, Fuzzing 0.
- npm dependencies: One runtime dependency, MIT licence.
GPT-6.2 Sol: 7.6, likely 6.4 to 8.6
Rollup has an MIT licence, one regular npm dependency, and an optional native package for each supported platform. Both reported high-severity issues had fixes on the current major by public disclosure, with fixes also available for versions 2 and 3. GitHub Actions publishes after tests, while the 7.1 Scorecard flags workflow token permissions and fuzzing. The number of people with publishing access remains unclear.
- npm license and dependencies: MIT and one regular npm dependency.
- scorecard: 7.1 overall, with zero scores for Token-Permissions and Fuzzing.
- github.com/advisories/GHSA-mw96-cpmx-2vgc: 2026 advisory lists patches for all three affected release lines.
- github.com/advisories/GHSA-gcx4-mw62-g8wm: 2024 advisory lists fixes for affected versions 2, 3, and 4.
- github.com/rollup/rollup/releases/tag/v4.59.0: The 4.x fix shipped before the 2026 advisory.
- github.com/rollup/rollup/releases/tag/v4.22.4: The 4.x fix shipped by the 2024 disclosure.
- github.com/rollup/rollup/blob/v4.68.8/.github/workflows/build-and-tests.yml: Automated npm publishing depends on lint, tests, and smoke tests.
- github.com/rollup/rollup/blob/master/ARCHITECTURE.md: Native binaries are published as platform-specific optional dependencies.
Good
- Its tree-shaking and ESM output are some of the cleanest of any bundler, which suits published libraries.
- Its plugin API is the de facto standard that Vite and Rolldown copy, and it has a large, mature plugin ecosystem.
- It is released very often (about 60 releases a year), and security fixes were backported to the 2.x, 3.x and 4.x lines.
- It has only one runtime dependency, plus optional native binaries, and an MIT licence.
Bad
- Builds are much slower than Rolldown, esbuild or Rspack on large projects.
- Vite 8 replaced it with Rolldown, so its biggest channel of new users is shrinking.
- It has no built-in dev server, TypeScript or JSX handling, so common setups need plugins and config.
- The native SWC-based parser binaries have caused platform issues, such as a SIGILL crash on some ARM64 machines.
The numbers
- npm downloads, 4 weeks
- 654M ×3.2 in a year
- GitHub stars
- 26k
- Commits, 12 months
- 435
- npm version
- 4.68.8 Nov 2026
- Versions, 12 months
- 62
- Advisories, 24 months
- 1 of 2 ever
- OpenSSF Scorecard
- 7.1 out of 10, Nov 2026
- Licence
- MIT
Vite installs Rollup, so most downloads are not a direct choice.
Read on 21 November 2026 from GitHub (rollup/rollup), npm (rollup), OSV and the OpenSSF Scorecard.