# web-infra-dev/rspack

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

Repository: https://github.com/web-infra-dev/rspack
Canonical: https://ross.abutalabs.com/products/rspack
Homepage: https://rspack.rs
Language: Rust
License: MIT
License Family: permissive
Topics: bundler, javascript, compiler, web, rust, build-tool, esm, jsx, loaders, typescript, web-performance, rspack, webpack, module-bundler, rstack
Last push: 2026-08-26T18:12:03+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1615, "days_push": 7, "days_rel": 7, "gap_med": 5.0, "n_releases_24m": 141}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12873, forks 842 (observed 2026-08-28T04:10:59.970989+00:00)

## What it is
Rspack is a fast, Rust-based JavaScript module bundler for the web that modernizes the webpack API to serve as a drop-in replacement. It offers parallelized builds, lightning-fast HMR, built-in SWC transpilation, Lightning CSS, asset handling, and first-class Module Federation support.

## Use cases
- replace webpack with a faster bundler
- speed up slow webpack builds in a large project
- bundle a TypeScript or JSX web application
- get fast hot module replacement during development
- implement micro-frontends with module federation
- migrate from webpack or Create React App with minimal changes
- tree-shake and minify production JavaScript bundles
- use webpack plugins and loaders with better performance

## When to choose
- you have an existing webpack project and want dramatically faster builds with low migration cost
- you need compatibility with the webpack plugin and loader ecosystem
- you want built-in TypeScript, JSX, CSS, and asset support without heavy configuration
- you are building micro-frontends or need Module Federation

## When to avoid
- you rely on webpack APIs outside Rspack's supported subset, since it is not 100% webpack-compatible
- you prefer Vite's native ESM dev-server workflow and don't need webpack compatibility
- you need a zero-config bundler for a tiny project where setup simplicity matters more than build speed

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, compiler, developer-tools, cli, plugin-system, templating
- domain: web-development, frontend, developer-tools, compilers, performance
- platform: rust, cross-platform, cli
- tags: bundler, module-bundler, webpack-compatible, javascript, typescript, hmr, module-federation, tree-shaking, code-splitting, swc, lightningcss, esm, loaders, web-performance, nodejs

## Member repositories
- web-infra-dev/rspack (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:59.970989+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:43.206728+00:00, confidence not recorded.
  - readme: https://github.com/web-infra-dev/rspack (fetched 2026-08-28T04:10:59.970989+00:00, sha 06b35fd1779b)
  - homepage: https://rspack.rs (fetched 2026-08-29T08:09:55.458102+00:00, sha 72538f1f0892)
  - site_page: https://rspack.rs/guide/features/plugin (fetched 2026-08-29T08:09:55.466327+00:00, sha 227a6754c7fc)
  - site_page: https://rspack.rs/guide/features/module-federation (fetched 2026-08-29T08:09:55.468103+00:00, sha b287e52ceaf4)
  - site_page: https://rspack.rs/guide/features/asset-module (fetched 2026-08-29T08:09:55.470690+00:00, sha 2b373ea2439e)
  - site_page: https://rspack.rs/guide/features/loader (fetched 2026-08-29T08:09:55.472333+00:00, sha 62b1f09cdf28)
  - site_page: https://rspack.rs/guide/features/dev-server (fetched 2026-08-29T08:09:55.474033+00:00, sha 335b18ef9418)
  - registry_crates: https://crates.io/api/v1/crates/rspack (fetched 2026-08-29T08:09:55.475581+00:00, sha 19f0ff3d627d)
  - site_page: https://rspack.rs/misc/faq (fetched 2026-08-29T08:09:55.460841+00:00, sha 75a104bf8226)
  - site_page: http://v1.rspack.rs/ (fetched 2026-08-29T08:09:55.463071+00:00, sha df1b7e422b79)
- Data as of 2026-08-30T08:39:29.467469+00:00.
