-
-
Notifications
You must be signed in to change notification settings - Fork 387
Closed
Description
Maybe I'm missing something but I can't get the sourcemaps to generate either as a separate file or inline. I'm using the latest webpack (4.1.1) and mini-css-extract-plugin (0.2.0).
Relevant webpack module rules:
{
test: /\.css$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {sourceMap: true},
},
]
},
{
test: /\.scss$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {sourceMap: true},
},
{
loader: 'sass-loader',
options: {sourceMap: true},
},
]
},
...and plugin:
new MiniCssExtractPlugin({
filename: 'css/styles.css'
}),
Do I need to specify devtool
property also ?
Metadata
Metadata
Assignees
Labels
No labels