Skip to content

Repository files navigation

webpack codemods

A collection of codemods to automatically upgrade webpack configurations and APIs to newer versions.

Usage

Run a codemod on your project with the Codemod CLI:

npx codemod run @webpack/<codemod-name>

Codemods

Codemod Description
css-plugins-to-native-css Migrate mini-css-extract-plugin and style-loader/css-loader rules to webpack's native CSS support (experiments.css).

Contributing

See CONTRIBUTING.md for how to add a new codemod or improve an existing one.

License

MIT

About

Official Webpack Codemods

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages