Rollup

An ES-module bundler known for efficient tree-shaking, widely used for libraries and inside Vite.

Rollup bundles ES modules into optimised output with strong dead-code elimination. Its clean plugin interface became the basis of Vite's plugin API. Rollup 4 moved parsing to SWC via native bindings for speed.

Type
Developer tool
Category
Web
Maintainer
Rollup team (Lukas Taegert-Atkinson)
First released
2015
License
Open source (MIT)
Pricing
Open source
Level
Intermediate
Technologies
javascript, nodejs
GitHub stars
26,315
Weekly downloads
173,262,310 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What Rollup is used for

  • Bundling npm libraries
  • Production builds in Vite

Strengths

  • Excellent tree-shaking
  • Clean output
  • Well-designed plugin API

Limitations

  • Slower than native bundlers for large apps
  • App features like HMR come from other tools

Rollup alternatives

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore