diff --git a/lib/builder/webpack/vue-loader.config.js b/lib/builder/webpack/vue-loader.config.js index ef36453c23..c0f70a7d20 100644 --- a/lib/builder/webpack/vue-loader.config.js +++ b/lib/builder/webpack/vue-loader.config.js @@ -4,7 +4,7 @@ export default function vueLoader () { postcss: this.options.build.postcss, extractCSS: this.options.build.extractCSS, cssSourceMap: this.options.build.cssSourceMap, - preserveWhitespace: true, + preserveWhitespace: false, loaders: { 'js': { loader: 'babel-loader',