Rolldown is a high-performance JavaScript and TypeScript module bundler written in Rust. It functions as a fast module compiler that implements a Rollup-compatible API to ensure compatibility with existing workflows and plugins while specializing in ECMAScript Module formats.
The project distinguishes itself by using a Rust-based core engine and lazy compilation to reduce the time spent resolving and transforming source code. It focuses on minimizing final delivery sizes through static analysis and tree-shaking to remove unused code.
The toolset covers a broad range of build capabilities, including module resolution management, code splitting, and multi-format output generation. It also provides developer experience features such as hot module replacement, file change watching, and source map generation for debugging.
The project provides a hook-based plugin architecture that allows for custom logic injection during the resolution, loading, and transformation stages.