A

webpack/v5/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 webpack v4 to v5.

The recipe includes the following codemods:

  • webpack/v5/migrate-library-target-to-library-object
  • webpack/v5/json-imports-to-default-imports
  • webpack/v5/set-target-to-false-and-update-plugins

Ready to contribute?

Build your own codemod and share it with the community.