Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbaldwin committed Jul 30, 2019
1 parent 4693941 commit a2140e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,16 @@ new MiniCssExtractPlugin({
}),
```

### Disable Asynchronous Downloading of CSS

For projects in which you do not want CSS asynchronously fetched on the client side, and only want the CSS that is delivered on the server side (via link tags) to be fetched and parsed, enabling this option will give you that functionality.

```javascript
new MiniCssExtractPlugin({
disableAsync: true,
}),
```

### Media Query Plugin

If you'd like to extract the media queries from the extracted CSS (so mobile users don't need to load desktop or tablet specific CSS anymore) you should use one of the following plugins:
Expand Down

0 comments on commit a2140e3

Please sign in to comment.