From a78b301aa373d78a457c7224a3523604a4a4ff12 Mon Sep 17 00:00:00 2001 From: Kai Falkowski Date: Tue, 21 Aug 2018 16:24:02 +0200 Subject: [PATCH] docs(readme): add a note about media query extraction (`media-query-plugin`) (#235) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f1efe00e..0786cad0 100644 --- a/README.md +++ b/README.md @@ -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. + +

Maintainers