This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Possibility to disable css source maps #235
Closed
Description
I'm using webpack with config:
module.exports = {
devtool: 'hidden-source-map',
...
module: {
loaders: [
{
test: /\.scss$/,
loader: ExtractTextPlugin.extract({
loader: ['css?minimize', 'postcss', 'sass?{precision:10}'],
publicPath: '/static/'
})
}
]
},
postcss: [autoprefixer({ browsers: ['last 2 versions'] })]
}
Source map is created automatically, but I don't need it. Besides, produced css
file has no path for source map in it and produced source map is useless:
{"version":3,"sources":[],"names":[],"mappings":"","file":"css/file.css","sourceRoot":""}
Is there an option to disable its creation?
Metadata
Metadata
Assignees
Labels
No labels