Rolldown vs Rollup
Rolldown
rolldown.rsRollup
rollupjs.orgSide by side
| Figure | Rolldown | Rollup |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Android | Yes | — |
| API | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · JavaScript Build Tools | 8.7 (#1) | 7.3 (#20) |
| Code splitting | Its output.codeSplitting option provides granular control over chunking behavior. | It can split code across entry points and dynamic imports using the output format’s import mechanism. |
| Compatibility | Rolldown provides a Rollup-compatible API and can reuse most existing Rollup plugins. | Rollup can import existing CommonJS modules through a plugin. |
| License | Rolldown is free and open source; VoidZero states that it remains open source and MIT-licensed. | Rollup is released under the MIT License. |
| Purpose | Rolldown is a Rust-based bundler for JavaScript with a Rollup-compatible API and esbuild feature parity. | Rollup is a JavaScript module bundler that compiles smaller code modules into libraries or applications. |
Plans
In their own words
Rolldown
Rolldown is a free, open-source JavaScript bundler written in Rust and designed as the unified bundler powering Vite 8+. Its Rollup-compatible plugin API can reuse most existing Rollup plugins. Built-in capabilities include TypeScript and JSX transforms, syntax lowering, module resolution, ESM and CommonJS interoperability, define, inject, and minification. It can handle mixed ESM and CommonJS module graphs and supports configurable manual code splitting. Install commands are provided for npm, pnpm, yarn, bun, and vp. Prebuilt binaries are listed for Linux, Windows, Apple platforms, Android, and other targets; where none is distributed, a Wasm build or building from source are options. The guide recommends using Rolldown through Vite for most applications and points library authors to tsdown. Module types are experimental, and the JavaScript build() API may change in patch releases. The troubleshooting guide says Windows file-system access can slow builds, particularly when transforms run without plugins. An online REPL is linked, along with GitHub, Discord, and contribution resources. VoidZero Inc. holds the copyrights, funds development, and directs the project; it states Rolldown remains open source and MIT-licensed.