NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4399 most downloaded on npm
Node binding for rspack
Last release 6 days ago
28 Sep 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
1125 releases · first in 2022
One column per quarter.
<!-- Release notes generated using configuration in .github/release.yml at v0.3.4 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.3.4 -->
To further improve Rspack's compatibility with webpack ecosystem, we implemented internal plugins in Rspack.
For example, you can use rspack.XxxPlugin in your configuration.
const rspack = require('@rspack/core');
module.exports = {
plugins: [
new rspack.DefinePlugin({ 'process.env.NODE_ENV': "'production'", }),
// In addition to webpack's existing plugins, some of the plugins implemented
// in rust in Rspack are also exported by internal plugins
new rspack.HtmlRspackPlugin({ template: './index.html' }),
],
};
Or use compiler.webpack.XxxPlugin in your plugin.
class ReactRefreshRspackPlugin {
apply(compiler) {
const reactRefreshPath = require.resolve("../client/reactRefresh.js");
const reactRefreshEntryPath = require.resolve("../client/reactRefreshEntry.js");
new compiler.webpack.EntryPlugin(compiler.context, reactRefreshEntryPath, {
name: undefined
}).apply(compiler);
new compiler.webpack.ProvidePlugin({
$ReactRefreshRuntime$: reactRefreshPath
}).apply(compiler);
}
};
Thanks to the implementation of internal plugins, we can now easily implement the @rspack/plugin-react-refresh, which was coupled into @rspack/dev-server before.
Now, if you are using a custom dev server instead of @rspack/dev-server or @rspack/cli, you can easily enable react fast refresh by adding the @rspack/plugin-react-refresh plugin.
See
Rspack is now html-webpack-plugin compatible!
const path = require("node:path")
const HtmlWebpackPlugin = require("html-webpack-plugin")
module.exports = {
plugins: [
new HtmlWebpackPlugin({
template: "pug-loader!" + path.join(__dirname, "template.pug")
})
]
}
builtin:swc-loader supports builtin transformationsThese fields served as the alternative to the current builtin transform options, aiming to support transforming with respect to the certain module.
type RspackExperiments = {
react?: ReactOptions;
import?: PluginImportOptions;
emotion?: EmotionOptions;
relay?: RelayOptions;
};
For example, integrating emotion transformation in the project:
module.exports = {
module: {
rules: [
{
test: /\.jsx$/,
exclude: /node_modules/,
loader: "builtin:swc-loader",
options: {
jsc: {
parser: {
syntax: "ecmascript",
jsx: true,
}
},
rspackExperiments: {
emotion: true
}
}
}
]
}
}
builtin:swc-loader experimental transformers by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4133BannerPlugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4151keepFnNames and keepClassNames options of builtin swc minfier by @xinxinhe1810 in https://github.com/web-infra-dev/rspack/pull/4121experiments.newSplitChunks by @hyf0 in https://github.com/web-infra-dev/rspack/pull/4169experiments.newSplitChunks being explicitly setted by @hyf0 in https://github.com/web-infra-dev/rspack/pull/4174sendStats of webpack-dev-server by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4101Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.2...v0.3.4
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.3.2 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.3.2 -->
EntryPlugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4073ExternalsPlugin by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/4083builtin:swc-loader does not report error correctly by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4111merge_group tests on check being requested by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4086semver to 6.3.1 by @GarrisonD in https://github.com/web-infra-dev/rspack/pull/4102Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.1...v0.3.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.3.1 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.3.1 -->
resolveLoaderWith this option, you can specify the resolving strategy for each loader.
For example, if you are developing a loader and want to showcase its usage from a user's perspective in an example, you can write:
module.exports = {
resolveLoader: {
alias: {
'amazing-loader': require.resolve('path-to-your-amazing-loader'),
},
},
};
Then, in the example code, you can write:
require('!!amazing-loader!./amazing-file.js');
resolveLoader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4008Watching type by @hardfist in https://github.com/web-infra-dev/rspack/pull/4014ident for builtin loader by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4038initial_chunks correctly by @hyf0 in https://github.com/web-infra-dev/rspack/pull/4022Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.3.0...v0.3.1
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.3.0 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.3.0 --> <p> <img src="https://camo.githubusercontent.com/0031034bed5d18377d57e2373390fba81f40f5e341a281188ed36d9c086aa2b9/68747470733a2f2f6c66332d7374617469632e62797465646e73646f632e636f6d2f6f626a2f6564656e2d636e2f7a712d75796c6b76542f6c6a68775a74686c61756b6a6c6b756c7a6c702f52737061636b2d313835302e706e67"/> </p>
Read the announcement blog post: Announcing Rspack 0.3.
optimization.chunkIds: 'deterministic' by @nebarf in https://github.com/web-infra-dev/rspack/pull/3053RuntimeGlobals by @lippzhang in https://github.com/web-infra-dev/rspack/pull/3973Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.2.12...v0.3.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
<!-- Release notes generated using configuration in .github/release.yml at v0.2.12 -->
<!-- Release notes generated using configuration in .github/release.yml at v0.2.12 -->
compilation.getAssets overhead by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/3934chunkIds: 'named' with Webpack by @hyf0 in https://github.com/web-infra-dev/rspack/pull/3923experiments.css sets to off by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/3430Full Changelog: https://github.com/web-infra-dev/rspack/compare/v0.2.11...v0.2.12
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →