- Home
- JavaScript Build Tools
- Rspack
Rspack
What it is
Rspack is a free, open-source bundler for web projects, built with Rust and TypeScript. Its parallelized architecture supports parallel builds, while incremental compilation is used to improve hot module replacement. Rspack updates the webpack API with the aim of supporting webpack replacement, but it does not promise complete API compatibility; it focuses on commonly used APIs and adds others based on user needs. It works with almost all community loaders, and over 85% of the 50 most downloaded webpack plugins can be used with Rspack or have an alternative. Built-in capabilities include code splitting, tree shaking, asset management, a development server, SWC, Lightning CSS, and a JavaScript build API. Documented integrations cover React, React Server Components, Preact, Vue, Next.js, Node.js applications, NestJS, Solid, Svelte, and Rstest. Custom plugins and loaders can be written in JavaScript or Rust. Rspack 1.0 was released in August 2024 and is described as production-ready. It runs on Linux, macOS, and Windows, as well as web and self-hosted environments. Questions can be directed to Discord or GitHub Discussions.
For and against
For
- Free and open source under the MIT license
- Supports parallel builds and hot module replacement
- Includes code splitting and tree shaking
- Works with almost all community loaders
- Custom plugins can use JavaScript or Rust
Against
- Does not aim for complete webpack API compatibility
- Questions are directed to Discord or GitHub Discussions
The verdict
Rspack offers a broad set of web build features and substantial compatibility with webpack loaders and plugins. Its API compatibility is deliberately limited to commonly used needs rather than full parity.
Who it suits
Rspack suits developers looking for a free web bundler with webpack ecosystem support and integrations for a range of frameworks. It may also suit teams who want to develop custom plugins or loaders in JavaScript or Rust.
Plans and prices
Free and open source
Released under the MIT license
Read 3 Oct 2026 · rspack.rs
On the record
- Architecture
- Rspack combines Rust and TypeScript with a parallelized architecture.rspack.rs · read 3 Oct 2026
- Built-in features
- The homepage lists code splitting, tree shaking, asset management, a dev server, parallel builds, SWC, Lightning CSS, and a JavaScript build API.rspack.rs · read 3 Oct 2026
- Compatibility limit
- Rspack does not aim for full webpack API compatibility; it prioritizes commonly used APIs and adds others based on user needs.rspack.rs · read 3 Oct 2026
- Framework integrations
- The documentation lists integrations for React, React Server Components, Preact, Vue, Next.js, Node.js applications, NestJS, Solid, Svelte, and Rstest.rspack.rs · read 3 Oct 2026
- Hot module replacement
- Rspack uses incremental compilation to optimize hot module replacement performance.rspack.rs · read 3 Oct 2026
- License
- Rspack is free and open source software released under the MIT license.rspack.rs · read 3 Oct 2026
- Maintainer
- The Rstack development team is led by ByteDance's web infrastructure team and works with community contributors on Rspack and related projects.rspack.rs · read 3 Oct 2026
- Plugin and loader development
- Custom plugins and loaders can be developed in JavaScript or Rust.rspack.rs · read 3 Oct 2026
- Purpose
- Rspack is a fast Rust-based bundler for the web that modernizes the webpack API to support replacing webpack.rspack.rs · read 3 Oct 2026
- Release status
- The introduction says Rspack 1.0 was released in August 2024 and describes it as production-ready because it covers most webpack APIs and features.rspack.rs · read 3 Oct 2026
- Security-related feature
- The community plugin compatibility list includes a SubresourceIntegrityPlugin for output and assets.rspack.rs · read 3 Oct 2026
- Support
- The project directs users with questions to its Discord support channel or GitHub Discussions.rspack.rs · read 3 Oct 2026
- Webpack ecosystem
- Rspack is compatible with almost all community loaders, and over 85% of the 50 most downloaded webpack plugins can be used with Rspack or have an alternative.rspack.rs · read 3 Oct 2026