Rsbuild Banner # Rsbuild

discord channel npm version downloads node version license Ask DeepWiki

English | [Portuguese](./README.pt-BR.md) | [็ฎ€ไฝ“ไธญๆ–‡](./README.zh-CN.md) Rsbuild is a modern build tool for web applications, powered by [Rspack](https://rspack.rs/). It delivers fast builds and optimized production output, while keeping configuration simple, consistent, and extensible through plugins. ## ๐Ÿ”ฅ Features 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](https://rspack.rs), [SWC](https://swc.rs/), and [Lightning CSS](https://lightningcss.dev/), 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. ## ๐Ÿ“š Documentation - [Rsbuild v2 docs](https://rsbuild.rs/) - [Rsbuild v1 docs](https://v1.rsbuild.rs/) ## ๐Ÿฆ€ Rstack Rsbuild is part of Rstack, the fast, unified JavaScript toolchain for developers and agents. | Name | Description | Version | | ----------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [Rspack](https://github.com/web-infra-dev/rspack) | Bundler | npm version | | [Rsbuild](https://github.com/web-infra-dev/rsbuild) | Build tool | npm version | | [Rslib](https://github.com/web-infra-dev/rslib) | Library development tool | npm version | | [Rspress](https://github.com/web-infra-dev/rspress) | Static site generator | npm version | | [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | Build analyzer | npm version | | [Rstest](https://github.com/web-infra-dev/rstest) | Testing framework | npm version | | [Rslint](https://github.com/web-infra-dev/rslint) | Linter | npm version | ## ๐Ÿ”— Links - [awesome-rstack](https://github.com/rstackjs/awesome-rstack): A curated list of awesome things related to Rstack. - [agent-skills](https://github.com/rstackjs/agent-skills): A collection of Agent Skills for Rstack. - [rstack-examples](https://github.com/rstackjs/rstack-examples): Examples showcasing Rstack. - [storybook-rsbuild](https://github.com/rstackjs/storybook-rsbuild): Storybook builder powered by Rsbuild. - [rsbuild-plugin-template](https://github.com/rstackjs/rsbuild-plugin-template)๏ผšUse this template to create your own Rsbuild plugin. - [rstack-design-resources](https://github.com/rstackjs/rstack-design-resources)๏ผšDesign resources for Rstack. ## ๐Ÿค Contribution > [!NOTE] > We highly value any contributions to Rsbuild! Please read the [Contributing Guide](https://github.com/web-infra-dev/rsbuild/blob/main/CONTRIBUTING.md). ### Contributors ### Code of conduct This repo has adopted the ByteDance open source code of conduct. Please check [Code of conduct](./CODE_OF_CONDUCT.md) for more details. ## ๐Ÿง‘โ€๐Ÿ’ป Community Come and chat with us on [Discord](https://discord.gg/XsaKEEk4mW)! The Rstack team and users are active there, and we're always looking for contributions. ## ๐Ÿ™ Credits Parts of Rsbuild are derived from or inspired by many excellent open source projects. We sincerely appreciate the work of these projects and the ideas they have shared with the community: - [create-react-app](https://github.com/react/create-react-app) - [Vite](https://github.com/vitejs/vite) - [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) - [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) - [connect-history-api-fallback](https://github.com/bripkens/connect-history-api-fallback) - [preload-webpack-plugin](https://github.com/vuejs/preload-webpack-plugin) - [dotenv](https://github.com/motdotla/dotenv) ## ๐Ÿ“– License Rsbuild is licensed under the [MIT License](https://github.com/web-infra-dev/rsbuild/blob/main/LICENSE).