Skip to content

Commit

Permalink
docs: improve readme (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl von Buelow authored Apr 20, 2021
1 parent aff99fa commit 8171439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,9 @@ module.exports = {
### Common use case

`mini-css-extract-plugin` is more often used in `production` mode to get separate css files.
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.
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.

> i Do not use together `style-loader` and `mini-css-extract-plugin`.
> ⚠️ Do not use `style-loader` and `mini-css-extract-plugin` together.
**webpack.config.js**

Expand Down

0 comments on commit 8171439

Please sign in to comment.