web-infra-dev/rspack

Fast Rust-based bundler for the web with a modernized webpack API ๐Ÿฆ€

12,898

stars

9,382

commits

Rust

primary language

Sep 11, 2026

updated

rspack.rs
build-tool
bundler
compiler
esm
javascript
jsx
loaders
module-bundler
rspack
rstack
rust
typescript
web
webpack
web-performance
Browse cluster: TypeScript/JavaScript bundlers and build tools โ†’

README

Rspack Banner

Rspack

discord channel npm version crates version downloads node version license codspeed

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

Rspack is a fast Rust-based bundler for the web. It modernizes the webpack API to enable seamless replacement of webpack while delivering lightning-fast build speeds.

โœจ Features

  • ๐Ÿš€ Fast Startup: Based on Rust, the build speed is extremely fast, bringing you the ultimate development experience.
  • โšก Lightning HMR: With a built-in incremental compilation mechanism, HMR is extremely fast and fully capable of developing large-scale projects.
  • ๐Ÿ“ฆ Webpack Compatible: Compatible with plugins and loaders in the webpack ecosystem, seamlessly integrating excellent libraries built by the community.
  • ๐ŸŽจ Module Federation: Provide first-class support for Module Federation to facilitate the development of large-scale web applications.
  • ๐Ÿ› ๏ธ Production Optimization: Various optimization strategies are built in by default, such as tree shaking, minification, etc.
  • ๐ŸŽฏ Framework Agnostic: Not bound to any frontend framework, ensuring enough flexibility.

Read Introduction for details.

๐Ÿฆ€ Rstack

Rspack is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.

NameDescriptionVersion
RspackBundlernpm version
RsbuildBuild toolnpm version
RslibLibrary development toolnpm version
RspressStatic site generatornpm version
RsdoctorBuild analyzernpm version
RstestTesting frameworknpm version
RslintLinternpm version

Getting started

Open in StackBlitz

See Quick start.

Contribution

Please read the contributing guide and let's build Rspack together.

Code of conduct

This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of conduct for more details.

Community

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

NameDescription
awesome-rstackA curated list of awesome things related to Rstack
agent-skillsA collection of Agent Skills for Rstack
Rspack 2.x docsDocumentation for Rspack 2.x
Rspack 1.x docsDocumentation for Rspack 1.x
Rspack 0.x docsDocumentation for Rspack 0.x version
rspack-dev-serverDev server for Rspack
rstack-examplesExamples showcasing Rstack
rspack-sourcesRust port of webpack-sources
rstack-design-resourcesDesign resources for Rstack

Contributors

Benchmarks

Credits

Thanks to:

License

Rspack is MIT licensed.

Contributors

(top 30 of 300)

LingyuCoder

986 commits

chenjiahan

864 commits

ahabhgk

799 commits

hardfist

790 commits

web-infra-dev/rspack

Fast Rust-based bundler for the web with a modernized webpack API ๐Ÿฆ€

12,898

stars

9,382

commits

Rust

primary language

Sep 11, 2026

updated

rspack.rs
build-tool
bundler
compiler
esm
javascript
jsx
loaders
module-bundler
rspack
rstack
rust
typescript
web
webpack
web-performance
Browse cluster: TypeScript/JavaScript bundlers and build tools โ†’

README

Rspack Banner

Rspack

discord channel npm version crates version downloads node version license codspeed

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

Rspack is a fast Rust-based bundler for the web. It modernizes the webpack API to enable seamless replacement of webpack while delivering lightning-fast build speeds.

โœจ Features

  • ๐Ÿš€ Fast Startup: Based on Rust, the build speed is extremely fast, bringing you the ultimate development experience.
  • โšก Lightning HMR: With a built-in incremental compilation mechanism, HMR is extremely fast and fully capable of developing large-scale projects.
  • ๐Ÿ“ฆ Webpack Compatible: Compatible with plugins and loaders in the webpack ecosystem, seamlessly integrating excellent libraries built by the community.
  • ๐ŸŽจ Module Federation: Provide first-class support for Module Federation to facilitate the development of large-scale web applications.
  • ๐Ÿ› ๏ธ Production Optimization: Various optimization strategies are built in by default, such as tree shaking, minification, etc.
  • ๐ŸŽฏ Framework Agnostic: Not bound to any frontend framework, ensuring enough flexibility.

Read Introduction for details.

๐Ÿฆ€ Rstack

Rspack is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.

NameDescriptionVersion
RspackBundlernpm version
RsbuildBuild toolnpm version
RslibLibrary development toolnpm version
RspressStatic site generatornpm version
RsdoctorBuild analyzernpm version
RstestTesting frameworknpm version
RslintLinternpm version

Getting started

Open in StackBlitz

See Quick start.

Contribution

Please read the contributing guide and let's build Rspack together.

Code of conduct

This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of conduct for more details.

Community

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

NameDescription
awesome-rstackA curated list of awesome things related to Rstack
agent-skillsA collection of Agent Skills for Rstack
Rspack 2.x docsDocumentation for Rspack 2.x
Rspack 1.x docsDocumentation for Rspack 1.x
Rspack 0.x docsDocumentation for Rspack 0.x version
rspack-dev-serverDev server for Rspack
rstack-examplesExamples showcasing Rstack
rspack-sourcesRust port of webpack-sources
rstack-design-resourcesDesign resources for Rstack

Contributors

Benchmarks

Credits

Thanks to:

License

Rspack is MIT licensed.

Contributors

(top 30 of 300)

LingyuCoder

986 commits

chenjiahan

864 commits

ahabhgk

799 commits

hardfist

790 commits

Languages

Rust

53.7%

CSS

24.7%

MDX

12.4%

TypeScript

7.4%

JavaScript

1.1%