From 114bfadd3bfa420c001e79a12ac8912644a8193e 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/loaders/sass.js b/lib/loaders/sass.js index 9f9858b2..df0e7af7 100644 --- a/lib/loaders/sass.js +++ b/lib/loaders/sass.js @@ -42,6 +42,8 @@ module.exports = { const config = Object.assign({}, { // needed by the resolve-url-loader sourceMap: (true === webpackConfig.sassOptions.resolveUrlLoader) || webpackConfig.useSourceMaps + // CSS minification is handled with mini-css-extract-plugin + outputStyle: 'nested' }); sassLoaders.push({