Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

web-infra-dev/rsbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5,774 Commits

Repository files navigation

Rsbuild

English | Portuguese | Jian Ti Zhong Wen

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.

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, 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.

Documentation

Rstack

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

Links

Contribution

Note

We highly value any contributions to Rsbuild!

Please read the Contributing Guide.

Contributors

Code of conduct

This repo has adopted the ByteDance open source code of conduct. Please check Code of conduct for more details.

Community

Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.

Credits

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

License

Rsbuild is licensed under the MIT License.

About

Simple, fast, extensible build tool. Powered by Rspack

Topics

Resources

Readme

License

MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors 146