Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork733
The fast Rust-based JavaScript bundler with webpack-compatible API 🦀️
License
web-infra-dev/rspack
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

English |简体中文
Rspack is a high performance JavaScript bundler written in Rust. It offers strong compatibility with the webpack ecosystem, allowing for seamless replacement of webpack, and provides lightning fast build speeds.
- 🚀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.
ReadIntroduction for details.
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 |
SeeQuick start.
Please read thecontributing guide and let's build Rspack together.
This repo has adopted the ByteDance Open Source Code of Conduct. Please checkCode of conduct for more details.
Come chat with us onDiscord! Rspack team and Rspack users are active there, and we're always looking for contributions.
| Name | Description |
|---|---|
| awesome-rspack | A curated list of awesome things related to Rspack |
| Rspack 1.x documentation | Documentation for Rspack 1.x (latest) |
| Rspack 0.x documentation | Documentation for Rspack 0.x version |
| rspack-dev-server | Dev server for Rspack |
| rstack-examples | Examples showcasing Rstack |
| rspack-sources | Rust port ofwebpack-sources |
| rstack-design-resources | Design resources for Rstack |
SeeBenchmark.
Thanks to:
- The webpack team and community for creating a great bundler and ecosystem from which we draw a lot of inspiration.
- @sokra for the great work on thewebpack project.
- @ScriptedAlchemy for creating Module Federation and helping Rspack connect with the community.
- TheSWC project created by@kdy1, which powers Rspack's code parsing, transformation and minification.
- Theesbuild project created by@evanw, which inspired the concurrent architecture of Rspack.
- TheNAPI-RS project created by@Brooooooklyn, which powers Rspack's node-binding implementation.
- TheParcel project created by@devongovett which is the pioneer of rust bundler and inspired Rspack's incremental rebuild design.
- TheVite project created byEvan You which inspired Rspack's compatibility design of webpack's ecosystem.
- The
rolldown-legacyproject created by old Rolldown team, It's the predecessor of therolldown project, which explores the possibility of making a performant bundler in Rust with Rollup-compatible API. It inspires the design principles of Rspack. - Thehtml-webpack-plugin project created by@jantimon,
@rspack/html-pluginis a fork ofhtml-webpack-plugin to avoid some webpack API usage not supported in Rspack. - TheTurbopack project which inspired the AST path logic of Rspack.
- Thereact-refresh-webpack-plugin created by@pmmmwh, which inspires implementreact refresh rspack plugin.
- Theprefresh created by@Jovi De Croock, which inspires implementpreact refresh rspack plugin.
- Themini-css-extract-plugin project created by@sokra which inspired implement css extract plugin.
- Thecopy-webpack-plugin project created by@kevlened which inspired implement copy rspack plugin.
- Thewebpack-subresource-integrity project created by@jscheid, which inspires implement subresource integrity rspack plugin.
- Thecircular-dependency-plugin project created by@aackerman, which inspres implement circular dependency rspack plugin.
- Thetracing-chrome project created bythoren-d, which inspires the implementation of Rspack tracing.
Rspack isMIT licensed.
About
The fast Rust-based JavaScript bundler with webpack-compatible API 🦀️
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.