Rsbuild is a high-performance build tool powered by Rspack. It provides thoughtfully designed default build configurations for an out-of-the-box development experience that fully unleashes Rspack's performance advantages.
Rsbuild provides rich build features, including compilation of TypeScript, JSX, Sass, Less, CSS Modules, Wasm, and more. It also supports Module Federation, image compression, type checking, PostCSS, Lightning CSS, and additional features.
Powered by Rspack's Rust-based architecture, Rsbuild delivers blazing fast performance that will reshape your development workflow.
⚡️ Build 1000 React components:
Rsbuild
Vite + SWC
webpack + SWC
webpack + Babel
📊 Benchmark results from build-tools-performance.
Rsbuild is a build tool on par with Vite, Create React App, and Vue CLI. All come with built-in dev servers, command line tools, and sensible build configurations for an out-of-the-box experience.
You can think of Rsbuild as a modernized version of Create React App or Vue CLI, with these key differences:
Rsbuild shares many similarities with Vite, as both aim to improve the frontend development experience. The main differences are:
Rsbuild has the following features:
Easy to Configure: One of Rsbuild's goals is to provide out-of-the-box build capabilities for Rspack users, allowing developers to start web projects with zero configuration. Additionally, Rsbuild provides semantic build configuration to reduce the learning curve for Rspack configuration.
Performance Oriented: Rsbuild integrates high-performance Rust-based tools from the community, including Rspack, SWC and Lightning CSS, delivering first-class build speed and development experience.
Plugin Ecosystem: Rsbuild has a lightweight plugin system and includes a range of high-quality official plugins. Furthermore, Rsbuild is compatible with most webpack plugins and all Rspack plugins, allowing users to leverage existing community or in-house plugins in Rsbuild without rewriting code.
Stable Artifacts: Rsbuild focuses strongly on build artifact stability. It ensures high consistency between artifacts in development and production builds, and automatically handles syntax downgrading and polyfill injection. Rsbuild also provides plugins for type checking and artifact syntax validation to prevent quality and compatibility issues in production code.
Framework Agnostic: Rsbuild is not coupled to any frontend UI framework. It supports frameworks like React, Vue, Svelte, Solid, and Preact through plugins, with plans to support more UI frameworks from the community in the future.
Rstack is a unified JavaScript toolchain centered on Rspack, with high performance and consistent architecture.
Rstack includes the following tools:
Name | Description | Version |
---|---|---|
Rspack | Bundler | |
Rsbuild | Build tool | |
Rslib | Library development tool | |
Rspress | Static site generator | |
Rsdoctor | Build analyzer | |
Rstest | Testing framework | |
Rslint | Linter |
Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.
You may want: