Closed
Description
Hi,
I currently have the following configuration:
{
test: /\.scss$/,
use: [
{ loader: MiniCssExtractPlugin.loader },
{ loader: "css-loader" },
{ loader: "postcss-loader", options: { parser: 'sugarss' } },
{ loader: "group-css-media-queries-loader" },
{ loader: "sass-loader" }
]
}
And when I run webpack", I get the following error:
TypeError: Cannot read property 'sourceMap' of null
I can fix the issue easily like this:
{ loader: "group-css-media-queries-loader", options: { sourceMap: false } }
However, it would be cool to be able not to specify any options, for example, for the people who are using the following syntax:
use: [MiniCssExtractPlugin.loader, "css-loader", "postcss-loader", "group-css-media-queries-loader", "sass-loader"]
Currently, the syntax above is not supported.
Cheers
Metadata
Metadata
Assignees
Labels
No labels