From cab0dd2d0273f35f9da8e26bb482789839e4c63a 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 --- .idea/$CACHE_FILE$ | 6 + .idea/.gitignore | 2 + .idea/inspectionProfiles/Project_Default.xml | 161 +++++++++++++++++++ .idea/markdown-navigator.xml | 86 ++++++++++ .idea/misc.xml | 6 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/webpack-encore.iml | 8 + lib/loaders/sass.js | 2 + 9 files changed, 285 insertions(+) create mode 100644 .idea/$CACHE_FILE$ create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/markdown-navigator.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/webpack-encore.iml diff --git a/.idea/$CACHE_FILE$ b/.idea/$CACHE_FILE$ new file mode 100644 index 00000000..6cb8985e --- /dev/null +++ b/.idea/$CACHE_FILE$ @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..5c98b428 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..64165b70 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,161 @@ + + + + \ No newline at end of file diff --git a/.idea/markdown-navigator.xml b/.idea/markdown-navigator.xml new file mode 100644 index 00000000..8a3aa938 --- /dev/null +++ b/.idea/markdown-navigator.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..28a804d8 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..7b072b3e --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/webpack-encore.iml b/.idea/webpack-encore.iml new file mode 100644 index 00000000..c956989b --- /dev/null +++ b/.idea/webpack-encore.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file 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({