An open API service indexing awesome lists of open source software.

https://github.com/webpack/codemods

Official Webpack Codemods
https://github.com/webpack/codemods

codemods webpack

Last synced: 4 days ago
JSON representation

Official Webpack Codemods

Awesome Lists containing this project

README

          





# 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](https://docs.codemod.com/cli):

```sh
npx codemod run @webpack/
```

## Codemods

| Codemod | Description |
| ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| [`css-plugins-to-native-css`](codemods/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](CONTRIBUTING.md) for how to add a new codemod or improve an existing one.

## License

[MIT](LICENSE)