rolldown

v1.0.0-rc.8
  • Types
  • ESM

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

License
MIT
Install Size
751.2 kB/-
Vulns
0
Published

Get started

$npm install rolldown
$pnpm add rolldown
$yarn add rolldown
$bun add rolldown
$deno add npm:rolldown
$vlt install rolldown
# Usually installed as a dev dependency
$npm install -D rolldown
$pnpm add -D rolldown
$yarn add -D rolldown
$bun add -d rolldown
$deno add -D npm:rolldown
$vlt install -D rolldown
# Run locally
$npx rolldown
$pnpm exec rolldown
$npx rolldown
$bunx rolldown
$deno run npm:rolldown
$vlx rolldown

Readme

Rolldown

Fast Rust-based bundler for JavaScript with Rollup-compatible API

  • ⚡️ Lightning Fast Performance
  • 🔌 Rollup-Compatible APIs
  • ⏩ esbuild Feature Parity

Rolldown is primarily designed to serve as the underlying bundler in Vite, with the goal to replace esbuild and Rollup with one unified build tool. Although designed for Vite, Rolldown is also fully capable of being used as a standalone, general-purpose bundler. It can serve as a drop-in replacement for Rollup in most cases, and can also be used as an esbuild alternative when better chunking control is needed.

Read the Docs to Learn More.