Skip to main content

Rolldown Config Builder

Generate a rolldown.config.js for Vite's next-generation Rust-powered bundler. Configure input, output format, source maps, minification, external packages and UMD globals — then copy the config.

✓ Rollup-compatible API ✓ Rust-powered speed ✓ ESM / CJS / IIFE / UMD

Configuration

 

Install: npm install rolldown. Run: npx rolldown.

Frequently Asked Questions

What is Rolldown?▼

Rolldown is a next-generation JavaScript bundler built with Rust and the oxc (Oxidation Compiler) toolkit. It is designed to be the eventual replacement for Rollup inside Vite, delivering near-identical output semantics but dramatically faster build times due to Rust's multi-threaded processing and zero-cost abstractions.

How does Rolldown compare to Rollup?▼

Rolldown is designed to be API-compatible with Rollup. It supports the same plugin API (Rollup plugin hooks) and produces equivalent output. The key difference is speed: Rolldown is typically 10-100x faster than Rollup on large codebases because it runs in Rust instead of JavaScript. Rolldown also has built-in tree-shaking and code-splitting.

Rolldown vs esbuild — what is the difference?▼

esbuild is a fast bundler written in Go, optimised for speed over output fidelity. Rolldown is written in Rust and designed to produce webpack/Rollup-quality output (advanced tree-shaking, fine-grained code-splitting, full ESM semantics). Choose esbuild for simple, ultra-fast bundles; choose Rolldown when you need Rollup-level correctness and plugin compatibility.

When should I use Rolldown?▼

Rolldown is best suited for: library authors who want Rollup-compatible output at higher speed; teams planning to migrate to Vite 6+ (which will use Rolldown internally); projects that rely on Rollup plugins and want to keep that ecosystem while gaining Rust speed. For application bundling today, Vite (Rolldown-based) is the recommended path.

What output formats does Rolldown support?▼

Rolldown supports ESM (esm), CommonJS (cjs), IIFE (iife), UMD (umd), and AMD (amd) formats. ESM is the modern default for libraries and browser modules. CJS is required for Node.js compatibility. IIFE/UMD are useful for browser scripts loaded via a script tag.

How do I use Rolldown today?▼

Install with: npm install rolldown. Then create rolldown.config.js and run npx rolldown. Note that Rolldown is still under active development and stabilizing its API. For production use, check the current release status on the rolldown.rs website.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →