Overview of Rolldown
mainRolldown is a high-performance, Rust-based bundler for JavaScript. It is designed to provide Rollup-compatible APIs while aiming for esbuild feature parity.
Key use cases include:
- Vite Integration: It is primarily designed to serve as the underlying bundler for Vite, aiming to unify the build toolchain by replacing both esbuild and Rollup.
- Standalone Bundling: It can be used as a general-purpose bundler.
- Rollup Replacement: It serves as a drop-in replacement for Rollup in most scenarios.
- esbuild Alternative: It can be used when more granular control over chunking is required compared to esbuild.