Webpack To Rspack/Migrate Manifest Plugin

1.0.2Last update Nov 4, 2024
by@dfordp

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