# Rollup: 6.7 out of 10

Reasonable, with limits. 6th of 10 in [Build tools](https://elestia.ai/opensource/build-tools/index.md).

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

- **Overall: 6.7** (likely 5.7 to 7.7)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (7.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.
- **Needed by many: 5.9** (likely 4.9 to 7.0)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (5.8): 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.
- **Helps a lot: 7.5** (likely 6.4 to 8.5)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.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.
- **Holds up over time: 6.7** (likely 5.6 to 8.0)
  - Claude Opus 5.5 (6.0): 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.
  - GPT-6.2 Sol (7.3): 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.
- **Used widely: 7.1** (likely 5.9 to 8.2)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.1): 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.
- **Vouched for: 7.3** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (8.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.
- **Safe: 7.6** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.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.

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

- Downloads, 4 weeks: 654M
- In a year: ×3.2
- GitHub stars: 26k
- Commits, 12 months: 435
- Last npm release: Nov 2026
- Advisories, 24 months: 1
- Licence: MIT
- GitHub: https://github.com/rollup/rollup
- npm: https://www.npmjs.com/package/rollup

Vite installs Rollup, so most downloads are not a direct choice.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
