From dff12050fcc91728e16606277189c18e626ef3af Mon Sep 17 00:00:00 2001 From: Mike Diamond Date: Mon, 10 Sep 2018 10:58:58 +0300 Subject: [PATCH 1/3] Update README.md Added short note about media-query-splitting-plugin --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0786cad0..33eb5e6f 100644 --- a/README.md +++ b/README.md @@ -276,6 +276,8 @@ For long term caching use `filename: "[contenthash].css"`. Optionally add `[name 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. +Or you can use [media-query-splitting-plugin](https://github.com/mike-diamond/media-query-splitting-plugin), it will handle mobile, tablet and desktop styles splitting for each CSS chunk in your bundle without any configuration, just add it to the webpack plugins. +

Maintainers

From d3f7cda5d007194d20b2c905759993b5e67ca399 Mon Sep 17 00:00:00 2001 From: Mike Diamond Date: Mon, 10 Sep 2018 16:22:48 +0300 Subject: [PATCH 2/3] Update README.md Update after review --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 33eb5e6f..c8ffc907 100644 --- a/README.md +++ b/README.md @@ -274,9 +274,10 @@ 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. +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 the following plugins: -Or you can use [media-query-splitting-plugin](https://github.com/mike-diamond/media-query-splitting-plugin), it will handle mobile, tablet and desktop styles splitting for each CSS chunk in your bundle without any configuration, just add it to the webpack plugins. +- [Media Query Plugin](https://github.com/SassNinja/media-query-plugin) +- [Media Query Splitting Plugin](https://github.com/mike-diamond/media-query-splitting-plugin)

Maintainers

From 8214bd499273e8409eb32ceba1699c97db482edd Mon Sep 17 00:00:00 2001 From: Mike Diamond Date: Mon, 10 Sep 2018 16:29:46 +0300 Subject: [PATCH 3/3] Update README.md Typo fix after review --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8ffc907..f072fc05 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,7 @@ 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 or tablet specific CSS anymore) you should use one of the the following plugins: +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: - [Media Query Plugin](https://github.com/SassNinja/media-query-plugin) - [Media Query Splitting Plugin](https://github.com/mike-diamond/media-query-splitting-plugin)