D

webpack-to-rspack/migration-recipe

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

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

Ready to contribute?

Build your own codemod and share it with the community.