Introduction
Rspack is a high-performance web bundler written in Rust. It offers a modernized webpack API, enabling a seamless transition from webpack while delivering lightning-fast build speeds.
Why Rspack?
Faster development feedback
Rspack was originally designed to address build performance challenges in large JavaScript applications. Written in Rust, it uses a parallel architecture to take full advantage of multi-core CPUs, along with incremental compilation, lazy compilation, and persistent caching to make builds more efficient.
These improvements significantly reduce dev server startup, hot module replacement (HMR), and production build times, making Rspack more than 10 times faster than webpack.
Make your code run faster
Rspack aims to produce smaller bundles that run faster. Optimizations such as tree shaking and minification help eliminate redundant code and reduce asset sizes.
Rspack also provides powerful code splitting capabilities, giving you fine-grained control over how modules are split and shared to achieve optimal loading performance for JavaScript applications.
From ready to use to fully customizable
The Rspack ecosystem includes tools for a range of use cases, such as Rsbuild for application development, Rslib for library development, and Rspress for documentation sites. These tools work out of the box, reducing the effort needed to set up and maintain your toolchain.
When you need deeper customization, you can use Rspack's configuration options, plugins, and JavaScript API to tailor the build process or develop your own tools. For advanced use cases such as micro-frontends and server-side rendering, Rspack also supports Module Federation, MultiCompiler mode, and React Server Components.
Compatible with the webpack ecosystem
Rspack is compatible with the vast majority of webpack's configuration options and APIs, allowing you to reuse existing loaders and plugins. Teams already using webpack can continue to apply their configuration expertise and use their custom plugins.
See the webpack migration guide and plugin compatibility list to learn more.
Meet Rstack
We built Rstack around Rspack: a high-performance JavaScript toolchain for developers and AI agents. It supports application development, library development, and documentation sites out of the box, while integrating testing, linting, and build analysis into the development workflow to reduce the effort of configuring and connecting tools.
These tools can be used independently or together. Start with the tools that fit your current needs and adopt others as your project grows.
Next steps
- Read Quick start to create a new project or migrate an existing project to Rspack.
- Visit the Rstack CLI documentation to learn how to manage your development workflow with a unified CLI.
- Join Discord to connect with the community, or follow Rspack on X for the latest updates.

