Skip to content

Commit ae5fea1

Browse files
committed
bug #638 sass-loader should not do css minification
1 parent 5640271 commit ae5fea1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/loaders/sass.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ module.exports = {
4141

4242
const config = Object.assign({}, {
4343
// needed by the resolve-url-loader
44-
sourceMap: (true === webpackConfig.sassOptions.resolveUrlLoader) || webpackConfig.useSourceMaps
44+
sourceMap: (true === webpackConfig.sassOptions.resolveUrlLoader) || webpackConfig.useSourceMaps,
45+
// CSS minification is handled with mini-css-extract-plugin
46+
outputStyle: 'expanded'
4547
});
4648

4749
sassLoaders.push({

0 commit comments

Comments
 (0)