English | Portuguese | ็ฎไฝไธญๆ
Rsbuild is a modern build tool for web applications, powered by Rspack.
It delivers fast builds and optimized production output, while keeping configuration simple, consistent, and extensible through plugins.
Note
The main branch is under active development for Rsbuild 2.0.
The stable 1.x releases are maintained in the v1.x branch.
Rsbuild has the following features:
-
Easy to configure: One of Rsbuild's goals is to give Rspack users out-of-the-box build capabilities so they can start web projects with zero configuration. Rsbuild also provides a semantic build configuration API to reduce the Rspack learning curve.
-
Performance-focused: 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. It is also compatible with most webpack plugins and all Rspack plugins, allowing you to use existing community or in-house plugins without rewriting code.
-
Stable artifacts: Rsbuild places a strong focus on build artifact stability. It ensures consistent 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 from reaching 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.
| Name | Description | Version |
|---|---|---|
| Rspack | Bundler | |
| Rsbuild | Build tool | |
| Rslib | Library development tool | |
| Rspress | Static site generator | |
| Rsdoctor | Build analyzer | |
| Rstest | Testing framework | |
| Rslint | Linter |
- awesome-rstack: A curated list of awesome things related to Rstack.
- agent-skills: A collection of Agent Skills for Rstack.
- rstack-examples: Examples showcasing Rstack.
- storybook-rsbuild: Storybook builder powered by Rsbuild.
- rsbuild-plugin-template๏ผUse this template to create your own Rsbuild plugin.
- rstack-design-resources๏ผDesign resources for Rstack.
Note
We highly value any contributions to Rsbuild!
Please read the Contributing Guide.
This repo has adopted the ByteDance open source code of conduct. Please check Code of conduct for more details.
Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.
Rsbuild has been inspired by several outstanding projects in the community. We would like to acknowledge and express our sincere gratitude to the following projects:
- Various plugin implementations have been inspired by create-react-app
- Multiple utility functions have been adapted from html-webpack-plugin
- Several API design patterns have been influenced by Vite
Rsbuild is licensed under the MIT License.