Skip to content

Commit

Permalink
docs(readme): add a note about media query extraction (`media-query-p…
Browse files Browse the repository at this point in the history
…lugin`) (#235)
  • Loading branch information
SassNinja authored and michael-ciniawsky committed Aug 21, 2018
1 parent 9d9cf15 commit a78b301
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,11 @@ module.exports = {

For long term caching use `filename: "[contenthash].css"`. Optionally add `[name]`.

### 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 specific CSS anymore) you should use the [media-query-plugin](https://github.com/SassNinja/media-query-plugin). It will take over the filename option of the mini-css-extract-plugin and recognize its generated CSS chunks.


<h2 align="center">Maintainers</h2>

<table>
Expand Down

0 comments on commit a78b301

Please sign in to comment.