Webpack To Rspack/Migrate Manifest Plugin

/icons/calendar.svg

Last update

Oct 17, 2024

Change import from webpack-manifest-plugin torspack-manifest-plugin.

Before

//change the import from webpack-manifest-plugin to rspack-manifest-plugin
const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
module.exports = {
plugins: [new WebpackManifestPlugin(options)],
};

After

const { RspackManifestPlugin } = require('rspack-manifest-plugin');
module.exports = {
plugins: [new RspackManifestPlugin(options)],
};

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now