Bundles JavaScript and TypeScript using a Rust core, exposes Rollup-like APIs and plugins, and targets eventual use as Vite's bundler.
Overview
Rolldown is a JavaScript and TypeScript bundler implemented in Rust. It aims to offer Rollup-compatible APIs and a plugin interface while covering a feature scope closer to esbuild, including built-in transforms, define, inject, and minification paths.
It is developed as part of the VoidZero toolchain initiative and is intended to become the bundler used in future Vite releases. Documentation is published at rolldown.rs, and an online REPL lets you try bundling interactively.
Compatibility emphasis allows teams familiar with Rollup configuration to adopt Rolldown with less migration friction, while Rust-backed performance targets large module graphs. Published benchmarks compare bundling thousands of modules with minification and source maps against other bundlers.
Rolldown is distributed as an npm package for installation in JavaScript workflows. It is free to use and maintained by a dedicated team alongside community contributors.
Key features
- Rollup-compatible API surface
- Rollup-style plugin interface
- Rust implementation core
- Built-in minify and define hooks
- esbuild-scoped feature set
- Vite integration roadmap
- Online bundler REPL
- Large module graph benchmarks
Use cases
- Speeding up production JS bundles
- Migrating Rollup plugin workflows
- Experimenting in the web REPL
- Preparing for Vite bundler upgrades
- Bundling TypeScript application code