From 32d3045884f8ac24a2768df3f0385afa0f8b536c Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Thu, 7 Sep 2017 13:51:11 +0200 Subject: [PATCH] Preserve whitespace --- lib/builder/webpack/vue-loader.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/webpack/vue-loader.config.js b/lib/builder/webpack/vue-loader.config.js index c0f70a7d20..ef36453c23 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: false, + preserveWhitespace: true, loaders: { 'js': { loader: 'babel-loader',