You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37
Original file line number
Diff line number
Diff line change
@@ -352,6 +352,43 @@ module.exports = {
352
352
};
353
353
```
354
354
355
+
### Common use case
356
+
357
+
`mini-css-extract-plugin` is more often used in `production` mode to get separate css files.
358
+
For `development` mode (including `webpack-dev-server`) you can use `style-loader`, because it injects CSS into the DOM using multiple <style></style> and works faster.
359
+
360
+
> i Do not use together `style-loader` and `mini-css-extract-plugin`.
0 commit comments