talira

Rolldown

Fast Rust bundler for JavaScript and TypeScript with a Rollup-compatible API

open sourceMITfree

Rolldown is a JavaScript and TypeScript bundler written in Rust, built to become the bundler inside Vite. It offers Rollup-compatible APIs and plugin interface, with a scope closer to esbuild, and ships native bindings for macOS, Linux and Windows plus a WebAssembly build. It's a project of VoidZero, and draws heavily on Rollup and esbuild.

Problems it solves

  • a faster bundler than Rollup that still runs my Rollup plugins
  • bundle a JavaScript or TypeScript app with a bundler written in Rust
  • speed up my Vite production build

Features

  • JavaScript and TypeScript bundling written in Rust
  • Rollup-compatible API and plugin interface
  • Native bindings for macOS, Linux and Windows, plus WebAssembly
  • Built to be Vite's bundler

Alternatives

The same job

These do what Rolldown does.

  1. Rollup ES module bundler for JavaScript libraries and apps, with tree shaking
  2. Parcel The zero configuration build tool for the web
  3. Vite Next Generation Frontend Tooling
  4. esbuild An extremely fast bundler for the web
  5. SWC Rust-based platform for the Web: a super-fast TypeScript and JavaScript compiler
  6. tsdown Library bundler for TypeScript and JavaScript, built on Rolldown

Compare Rolldown with the top 3