Webpack → Rspack
easyRspack is a Webpack-compatible bundler written in Rust. 5-10x faster builds. Most Webpack plugins and loaders work without changes. Drop-in replacement for many projects.
npm install -D @rspack/core @rspack/cli
webpack.config.js → rspack.config.js. Most config options are identical. Some plugins need Rspack equivalents.
html-webpack-plugin → @rspack/plugin-html. MiniCssExtractPlugin → built-in rspack.CssExtractRspackPlugin.
webpack → rspack, webpack-dev-server → @rspack/dev-server in package.json scripts.
What this migration involves
Moving from Webpack to Rspack is rated easy and takes about 1-3h on a typical project. The guide breaks it into 5 steps, 1 of which ship with runnable commands and 1 with a verification check.
Related migrations
FAQ
How long does migrating from Webpack to Rspack take?
Around 1-3h for a typical project — 5 steps, difficulty rated easy, 1 of them with copy-paste commands.
Is moving from Webpack to Rspack reversible?
No reverse guide is tracked yet, so treat this as a one-way move and keep a full export of your Webpack data before you start.
What does Rspack cost compared to Webpack?
Pricing for both tools is contact-based or not tracked yet.