Skip to content

Commit

Permalink
docs: update README (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
gesposito authored Aug 18, 2021
1 parent d45b55a commit 2c247e2
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 @@ -700,9 +700,9 @@ module.exports = {

For `production` builds it's recommended to extract the CSS from your bundle being able to use parallel loading of CSS/JS resources later on.
This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin), because it creates 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 together `style-loader` and `mini-css-extract-plugin`.
**webpack.config.js**

Expand Down

0 comments on commit 2c247e2

Please sign in to comment.