Rolldown: How Vite bundles at the speed of Rust
summary
Vite is migrating its production bundler to a Rust implementation called Rolldown that pairs with the OXC transformer/minifier to replace parts of Rollup and esbuild under the hood. The stack is Rust-based Rolldown + OXC with compatible with Rollup plugins and esbuild-like features (tsconfig paths, module types, DTS emission). Real projects report up to 22.3× faster production builds, lower memory use, and occasional smaller bundles (examples: 113k → 111k, ~43k → ~42.25k), and native plugin hooks cut Rust↔JS overhead.
AI-written summary · about
chapters (8)
- 0:00Introduction and context
- 1:49Current Vite architecture
- 3:07The role of a bundler
- 6:54Introducing Rolldown
- 10:24Rolldown features and API
- 15:22The Oxc foundation
- 19:11Real-world performance impact
- 22:39Future plans and conclusion
related talks
29mModern JavaScript Tooling: Exploring Rolldown, Oxc, and Beyond
32mFaster Builds and Fewer Headaches with Modern JavaScript Tooling
38mVue.js and Vite Updates
26mOxc, Rolldown, Vitest, Vite: The Future of The JavaScript Toolchain
20mThe Inner Workings of Vite Build
42mVite and the Future of JavaScript Tooling
39mBundlers: a deep dive into modern JavaScript build tools
20mVite - The Next Generation Frontend Tooling
