diff --git a/lib/build/webpack/vue-loader.config.js b/lib/build/webpack/vue-loader.config.js index 7b0f4d1217..53d42bdcac 100644 --- a/lib/build/webpack/vue-loader.config.js +++ b/lib/build/webpack/vue-loader.config.js @@ -18,7 +18,8 @@ module.exports = function () { 'scss': 'vue-style-loader!css-loader!sass-loader', 'stylus': 'vue-style-loader!css-loader!stylus-loader', 'styl': 'vue-style-loader!css-loader!stylus-loader' - } + }, + preserveWhitespace: false } if (!this.dev) {