web-infra-dev/rspack

Rustrspack.rs

Fast Rust-based bundler for the web with a modernized webpack API 🦀

bundlerjavascriptcompilerwebrustbuild-toolesmjsxloaderstypescriptweb-performancerspack
Crecimiento de estrellas
Estrellas
12.9k
Forks
847
Crecimiento semanal
+9
Issues
110
5k10k
mar 2023may 2024jul 2025sept 2026
Artefactoscrates.io
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.

Name Description Version
Rspack Bundler npm version
Rsbuild Build tool npm version
Rslib Library development tool npm version
Rspress Static site generator npm version
Rsdoctor Build analyzer npm version
Rstest Testing framework npm version
Rslint Linter npm 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.

Name Description
awesome-rstack A curated list of awesome things related to Rstack
agent-skills A collection of Agent Skills for Rstack
Rspack 2.x docs Documentation for Rspack 2.x
Rspack 1.x docs Documentation for Rspack 1.x
Rspack 0.x docs Documentation for Rspack 0.x version
rspack-dev-server Dev server for Rspack
rstack-examples Examples showcasing Rstack
rspack-sources Rust port of webpack-sources
rstack-design-resources Design resources for Rstack

Contributors

Benchmarks

Credits

Thanks to:

License

Rspack is MIT licensed.

Repositorios relacionados
oven-sh/bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Rustcrates.iolibraryOtherbunbundler
bun.com
95.9k5k
evanw/esbuild

An extremely fast bundler for the web

GoGo ModuleslibraryMIT Licensetypescriptminifier
esbuild.github.io
40k1.3k
browserify/browserify

browser-side require() the node.js way

JavaScriptnpmlibraryMIT Licensebundlerjavascript
browserify.org
14.7k1.2k
rolldown/rolldown

Fast Rust bundler for JavaScript/TypeScript with Rollup-compatible API.

Rustcrates.iolibraryMIT Licensebundlerjavascript
rolldown.rs
13.9k1k
nexe/nexe

🎉 create a single executable out of your node.js apps

TypeScriptnpmcliMIT Licensenexejavascript
13.6k556
PlasmoHQ/plasmo

🧩 The Browser Extension Framework

TypeScriptnpmappMIT Licensebrowser-extensionchrome-extension
plasmo.com
13.1k461
react/metro

🚇 The JavaScript bundler for React Native

JavaScriptnpmlibraryMIT Licensejavascriptreact-native
metrobundler.dev
5.6k693
farm-fe/farm

Extremely fast Vite-compatible web build tool written in Rust

Rustcrates.iolibraryMIT Licensebuild-toolcompiler
farmfe.org
5.6k192
trunk-rs/trunk

Build, bundle & ship your Rust WASM application to the web.

Rustcrates.iolibraryApache License 2.0rustwasm
trunk-rs.github.io/trunk/
4.4k323
rolldown/tsdown

The elegant bundler for libraries powered by Rolldown

TypeScriptnpmlibraryMIT Licenselibraryoxc
tsdown.dev
4.3k186
fuse-box/fuse-box

A blazing fast js bundler/loader with a comprehensive API :fire:

JavaScriptnpmlibraryMIT Licensebundlerloader
fuse-box.org
4k229
web-infra-dev/rsbuild

Fast, extensible build tool for modern web development

TypeScriptnpmlibraryMIT Licensebuild-toolrspack
rsbuild.rs
3.4k279