Skip to content

Commit

Permalink
Add note for webpack v4 with mini-css-extract-plugin
Browse files Browse the repository at this point in the history
mini-css-extract-plugin must use <=1.6.2 in webpack v4.
  • Loading branch information
JakeLane authored Nov 7, 2024
1 parent f63b99d commit 0c453ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/packages/docs/src/pages/css-extraction-webpack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ For more configuration options see the [loader package docs](/pkg-webpack-loader

### CSS configuration

Add loaders to handle and extract found styles. We support and recommend [`mini-css-extract-plugin`](https://github.com/webpack-contrib/mini-css-extract-plugin/); we don't currently support other CSS loaders.
Add loaders to handle and extract found styles. We support and recommend [`mini-css-extract-plugin`](https://github.com/webpack-contrib/mini-css-extract-plugin/); we don't currently support other CSS loaders. Note: `mini-css-extract-plugin` dropped support for Webpack v4 in 2.0.0, Webpack v4 users will need to use `[email protected]`.

```bash
npm i css-loader mini-css-extract-plugin --save-dev
Expand Down

0 comments on commit 0c453ae

Please sign in to comment.