Fork: 219 Star: 4623 (更新于 2023-06-03 21:45:31)

license: MIT

Language: Rust.

A fast Rust-based web bundler 🦀️

最后发布版本: 0.2.0 (2023-06-02 13:31:00)

官方网址 GitHub网址

Rspack Banner

A fast Rust-based web bundler

discord channel npm version downloads license

English | 简体中文

✨ 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 Interoperable: Compatible with the architecture and ecosystem of webpack, no need to build the ecosystem from scratch.
  • 🎨 Batteries Included: Out-of-the-box support for TypeScript, JSX, CSS, CSS Modules, Sass, and more.
  • 🛠️ 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.

Getting Started


This project is new and under active development. Although Rspack can already successfully bundle real world projects, its APIs are not yet stable, and many Webpack plugin hooks have not been implemented yet. If you have feedback, questions, or bug reports, please create a GitHub issue. Any contributions are greatly appreciated!

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.


Name Description
Rspack website Official documentation for Rspack
Rspack website repo Repository of official documentation
rspack-sources Rusty webpack-sources port
rspack-migration-showcase Migration showcases for Rspack



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 Rspack connect with the community.
  • The SWC project created by @kdy1, which powers Rspack's code parsing, transformation and minification.
  • The esbuild project created by @evanw, which inspired the concurrent architecture of Rspack.
  • The NAPI-RS project created by @Brooooooklyn, which powers Rspack's node-binding implementation.
  • The Parcel project created by @devongovett which is the pioneer of rust bundler and inspired Rspack's incremental rebuild design.
  • The Vite project created by Evan You which inspired Rspack's compatibility design of webpack's ecosystem.
  • The Rolldown project created by Rolldown team, which explores the possibility of making a performant bundler in Rust with Rollup-compatible API. It inspires the design principles of Rspack.
  • The html-webpack-plugin project created by @jantimon, @rspack/html-plugin is a fork of html-webpack-plugin to avoid some webpack API usage not supported in Rspack.
  • The Turbopack project which inspired the AST path logic of Rspack.
  • The react-refresh-webpack-plugin created by @pmmmwh, which inspires implement react refresh.


Rspack is MIT licensed.

最近版本更新:(数据更新于2023-06-06 02:40:44)

2023-06-02 13:31:00 0.2.0

2023-05-23 17:30:31 v0.1.12

2023-05-16 17:05:14 v0.1.11

2023-05-09 17:54:46 v0.1.10

2023-04-25 13:15:23 v0.1.9

2023-04-18 19:08:43 v0.1.8

2023-04-11 13:00:05 v0.1.7

2023-04-04 17:22:10 v0.1.6

2023-04-03 14:46:20 v0.1.5

2023-03-30 12:13:06 v0.1.4


build-tool, bundler, compiler, esm, javascript, jsx, loaders, rust, typescript, web, web-performance


2023-06-05 00:21:59 uutils/coreutils

2023-06-04 16:17:39 tw93/Pake

2023-06-04 04:10:40 Lissy93/AdGuardian-Term

2023-06-03 22:38:08 jdxcode/rtx

2023-06-03 17:11:52 mitsuhiko/rye

2023-06-03 09:16:30 lapce/lapce