Skip to content

About

Official Webpack Codemods

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

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, style-loader/css-loader rules, and supported css-minimizer-webpack-plugin options to webpack's native CSS support and minification.
html-plugins-to-native-html Migrate html-webpack-plugin and html-loader to native HTML support and minification.

Contributing

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

License

MIT

About

Official Webpack Codemods

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages