Webpack To Rspack/Replace Workbox Webpack Plugin To Aaroon/Workbox Rspack Plugin

1.0.2Last update Oct 17, 2024
by@dfordp

Change import from workbox-webpack-plugin to @aaroon/workbox-rspack-plugin.

Before

// change the import package from workbox-webpack-plugin to @aaroon/workbox-rspack-plugin
const WorkboxPlugin = require('workbox-webpack-plugin');

After

const WorkboxPlugin = require(' @aaroon/workbox-rspack-plugin');

Build custom codemods

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

background illustrationGet Started Now