Skip to content

The Rspack-based build tool. It's fast, out-of-the-box and extensible.

License

Notifications You must be signed in to change notification settings

SyMind/rsbuild

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Rsbuild Banner

Rsbuild

discord channel npm version downloads node version license

English | ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ’ก What is Rsbuild?

  • Rsbuild is an Rspack-based build tool for the web.
  • Rsbuild is an enhanced Rspack CLI, which is more user-friendly and out-of-the-box.
  • Rsbuild is the Rspack team's exploration and implementation of best practices for web building.
  • Rsbuild is the best solution for migrating from Webpack to Rspack, reducing configuration by 90% and getting 10x build speed.

๐Ÿš€ Performance

Rsbuild's build performance is on par with native Rspack. This is the time it takes to build 1000 React components:

benchmark

The above data comes from the performance-compare benchmark.

๐Ÿ”ฅ Features

Rsbuild has the following features:

  • Easy to Configure: One of the goals of Rsbuild is to provide out-of-the-box build capabilities for Rspack users, allowing developers to start a web project with zero configuration. In addition, 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, to deliver top-notch build speed and development experience. Compared to webpack-based tools like Create React App and Vue CLI, Rsbuild provides 5 to 10 times faster build performance and lighter dependencies.

  • 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 the need for rewriting code.

  • Stable Artifacts: Rsbuild is designed with a strong focus on the stability of build artifacts. It ensures high consistency between artifacts in the development and production builds, and automatically completes 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 with any front-end UI framework. It supports frameworks like React, Vue 3, Vue 2, Svelte, Solid, and Lit through plugins, and plans to support more UI frameworks from the community in the future.

๐ŸŽฏ Position

In addition to being used as a build tool, Rsbuild also provides universal build capabilities for higher-level solutions, such as Rspress and Modern.js, allowing them to focus on the development of their own domain specific capabilities.

The following diagram illustrates the relationship between Rsbuild and other tools in the ecosystem:

Rspack Ecosystem

๐Ÿ“ Roadmap

We plan to release Rsbuild v1.0 before July 2024 (based in Rspack v1.0), see Rsbuild v1.0 Release Plan.

๐Ÿ“š Getting Started

To get started with Rsbuild, see the Quick Start.

๐Ÿฆ€ Links

  • Rspack: A fast Rust-based web bundler.
  • Rspress: A fast static site generator based on Rsbuild.
  • Rsdoctor: A one-stop build analyzer for Rspack and Webpack.
  • Modern.js: A progressive React framework based on Rsbuild.
  • awesome-rspack: A curated list of awesome things related to Rspack and Rsbuild.
  • rspack-examples: Examples for Rspack, Rsbuild, Rspress and Rsdoctor.
  • rsbuild-plugin-template๏ผšUse this template to create your own Rsbuild plugin.
  • rsfamily-design-resources๏ผšDesign resources for Rspack, Rsbuild, Rspress and Rsdoctor.

๐Ÿค Contribution

New contributors welcome!

Please read the Contributing Guide.

Contributors




Contributors of web-infra-dev/rsbuild New trends of web-infra-dev
Contributors of web-infra-dev/rsbuild

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 Rspack / Rsbuild team and users are active there, and we're always looking for contributions.

๐ŸŒŸ Quality

Rsbuild uses Web Infra QoS to observe the trend of key metrics, such as bundle size, compile speed and install size.

๐Ÿ™ Credits

Some of the implementations of Rsbuild have drawn inspiration from outstanding projects in the community. We would like to express our gratitude to them:

This Rsbuild website is powered by Netlify.

๐Ÿ“– License

Rsbuild is licensed under the MIT License.

About

The Rspack-based build tool. It's fast, out-of-the-box and extensible.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.3%
  • MDX 41.5%
  • JavaScript 3.7%
  • Shell 1.2%
  • CSS 0.4%
  • Vue 0.3%
  • Other 0.6%