This recipe is a set of codemods that will help migrate from webpack to rspack.
The recipe includes the following codemods:
- webpack-to-rspack/handling-built-in-plugins-migrations
- webpack-to-rspack/copywebpackplugin-community-to-included-plugin
- webpack-to-rspack/remove_tsconfigpathsplugin-paths-plugin
- webpack-to-rspack/migrate-update-babel-loader-to-swc-loader
- webpack-to-rspack/remove-file-loader-to-type-asset-resource
- webpack-to-rspack/remove-url-loader-to-type-asset-inline
- webpack-to-rspack/remove-raw-loader-to-type-asset-source
- webpack-to-rspack/cssextractwebpackplugin-community-to-included-plugin
- webpack-to-rspack/eslint-webpack-plugin-to-eslint-rspack-plugin
- webpack-to-rspack/migrate-manifest-plugin
- webpack-to-rspack/replace-webpack-virtual-modules-to-rspack-plugin-virtual-module
- webpack-to-rspack/replace-workbox-webpack-plugin-to-aaroon/workbox-rspack-plugin
- webpack-to-rspack/community-csminimizer-to-rspack-plugin
- webpack-to-rspack/migrate-html-plugin
- webpack-to-rspack/migrate-terser-plugin
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community