diff --git a/lib/loaders/sass.js b/lib/loaders/sass.js index 9f9858b2..002fe6b9 100644 --- a/lib/loaders/sass.js +++ b/lib/loaders/sass.js @@ -41,7 +41,9 @@ module.exports = { const config = Object.assign({}, { // needed by the resolve-url-loader - sourceMap: (true === webpackConfig.sassOptions.resolveUrlLoader) || webpackConfig.useSourceMaps + sourceMap: (true === webpackConfig.sassOptions.resolveUrlLoader) || webpackConfig.useSourceMaps, + // CSS minification is handled with mini-css-extract-plugin + outputStyle: 'expanded' }); sassLoaders.push({