Skip to content

Commit 7254b42

Browse files
JakeLanedddlr
andauthored
Add note for webpack v4 with mini-css-extract-plugin (#1743)
mini-css-extract-plugin must use <=1.6.2 in webpack v4. Co-authored-by: Grant Wong <[email protected]>
1 parent dea4f1c commit 7254b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/packages/docs/src/pages/css-extraction-webpack.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ For more configuration options see the [loader package docs](/pkg-webpack-loader
138138

139139
### CSS configuration
140140

141-
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.
141+
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]`.
142142

143143
```bash
144144
npm i css-loader mini-css-extract-plugin --save-dev

0 commit comments

Comments
 (0)