English |Giản thể tiếng Trung
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.
ReadIntroductionfor details.
SeeQuick Start.
Please read thecontributing guideand let's build Rspack together.
This repo has adopted the ByteDance Open Source Code of Conduct. Please checkCode of Conductfor more details.
Come chat with us onDiscord!Rspack team and Rspack users are active there, and we're always looking for contributions.
Name | Description |
---|---|
Rspack website | Official documentation for Rspack |
awesome-rspack | A curated list of awesome things related to Rspack |
rspack-examples | Rspack configuration examples |
rspack-sources | Rust port ofwebpack-sources |
rspack-migration-showcase | Migration showcases for Rspack |
rspack-compat | Rspack compatible loaders and plugins examples |
rsfamily-design-resources | Design resources for Rspack, Rsbuild, Rspress and Rsdoctor |
SeeBenchmark.
Thanks to:
- The webpack team and communityfor creating a great bundler and ecosystem from which we draw a lot of inspiration.
- @sokrafor the great work on thewebpackproject.
- @ScriptedAlchemyfor creating Module Federation and helping Rspack connect with the community.
- TheSWCproject created by@kdy1,which powers Rspack's code parsing, transformation and minification.
- Theesbuildproject created by@evanw,which inspired the concurrent architecture of Rspack.
- TheNAPI-RSproject created by@Brooooooklyn,which powers Rspack's node-binding implementation.
- TheParcelproject created by@devongovettwhich is the pioneer of rust bundler and inspired Rspack's incremental rebuild design.
- TheViteproject created byEvan Youwhich inspired Rspack's compatibility design of webpack's ecosystem.
- Therolldown-legacyproject created by oldRolldown team,It's the predecessor of therolldownproject, which explores the possibility of making a performant bundler in Rust with Rollup-compatible API. It inspires the design principles of Rspack.
- Thehtml-webpack-pluginproject created by@jantimon,
@rspack/html-plugin
is a fork ofhtml-webpack-pluginto avoid some webpack API usage not supported in Rspack. - TheTurbopackproject which inspired the AST path logic of Rspack.
- Thereact-refresh-webpack-plugincreated by@pmmmwh,which inspires implement react refresh.
- Theprefreshcreated by@Jovi De Croock,which inspires implement preact refresh rspack plugin.
- Themini-css-extract-pluginproject created by@sokrawhich inspired implement css extract plugin.
- Thecopy-webpack-pluginproject created by@kevlenedwhich inspired implement copy rspack plugin.
Rspack isMIT licensed.