group-css-media-queries-loader
v4.3.0
Published
A [group-css-media-queries](https://github.com/Se7enSky/group-css-media-queries) loader for [webpack](https://github.com/webpack/webpack).
Downloads
3,613
Readme
group-css-media-queries-loader
A group-css-media-queries loader for webpack.
Getting Started
To begin, you'll need to install loader:
yarn add -D group-css-media-queries-loader
Then add the plugin to your webpack config. For example:
// webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.css$/,
use: [
"style-loader",
"css-loader",
"group-css-media-queries-loader",
],
},
],
},
};
Options
sourceMap: boolean
Enables/Disables generation of source maps. (default: compiler.devtool
)