Skip to content

Commit a78b301

Browse files
SassNinjamichael-ciniawsky
authored andcommitted
docs(readme): add a note about media query extraction (media-query-plugin) (#235)
1 parent 9d9cf15 commit a78b301

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ module.exports = {
272272

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

275+
### Media Query Plugin
276+
277+
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.
278+
279+
275280
<h2 align="center">Maintainers</h2>
276281

277282
<table>

0 commit comments

Comments
 (0)