From ae5fea132a95fca6b289dbd320acc0f1ca037a90 Mon Sep 17 00:00:00 2001 From: Wim Hendrikx Date: Mon, 16 Sep 2019 17:01:30 +0200 Subject: [PATCH] bug #638 sass-loader should not do css minification --- lib/loaders/sass.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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({