English | 简体中文
Rustbolt 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.
Read Introduction for details.
See Quick start.
Please read the contributing guide and let's build Rustbolt together.
This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of conduct for more details.
Come chat with us on Discord! Rustbolt team and Rustbolt users are active there, and we're always looking for contributions.
| Name | Description |
|---|---|
| awesome-rustbolt | A curated list of awesome things related to Rustbolt |
| Rustbolt 1.x documentation | Documentation for Rustbolt 1.x (latest) |
| Rustbolt 0.x documentation | Documentation for Rustbolt 0.x version |
| Rsbuild | An out-of-the-box build tool based on Rustbolt |
| Rspress | A fast static site generator based on Rsbuild |
| Rsdoctor | A one-stop build analyzer for Rustbolt |
| Rslib | A library development tool powered by Rsbuild |
| rustbolt-dev-server | Dev server for Rustbolt |
| rstack-examples | Examples showcasing Rstack ecosystem tools (Rustbolt, Rsbuild, Rspress, Rsdoctor) |
| rustbolt-sources | Rust port of webpack-sources |
| rstack-design-resources | Design resources for Rustbolt Stack |
See Benchmark.
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 the webpack project.
- @ScriptedAlchemy for creating Module Federation and helping Rustbolt connect with the community.
- The SWC project created by @kdy1, which powers Rustbolt's code parsing, transformation and minification.
- The esbuild project created by @evanw, which inspired the concurrent architecture of Rustbolt.
- The NAPI-RS project created by @Brooooooklyn, which powers Rustbolt's node-binding implementation.
- The Parcel project created by @devongovett which is the pioneer of rust bundler and inspired Rustbolt's incremental rebuild design.
- The Vite project created by Evan You which inspired Rustbolt's compatibility design of webpack's ecosystem.
- The
rolldown-legacyproject created by old Rolldown team, It's the predecessor of the rolldown project, which explores the possibility of making a performant bundler in Rust with Rollup-compatible API. It inspires the design principles of Rustbolt. - The html-webpack-plugin project created by @jantimon,
@rustbolt/html-pluginis a fork of html-webpack-plugin to avoid some webpack API usage not supported in Rustbolt. - The Turbopack project which inspired the AST path logic of Rustbolt.
- The react-refresh-webpack-plugin created by @pmmmwh, which inspires implement react refresh rustbolt plugin.
- The prefresh created by @Jovi De Croock, which inspires implement preact refresh rustbolt plugin.
- The mini-css-extract-plugin project created by @sokra which inspired implement css extract plugin.
- The copy-webpack-plugin project created by @kevlened which inspired implement copy rustbolt plugin.
- The webpack-subresource-integrity project created by @jscheid, which inspires implement subresource integrity rustbolt plugin.
- The circular-dependency-plugin project created by @aackerman, which inspres implement circular dependency rustbolt plugin.
Rustbolt is MIT licensed.