Force preserveWhitespace to false to avoid SSR mismatch

This commit is contained in:
Sebastien Chopin 2017-09-07 14:09:28 +02:00
parent 32d3045884
commit b114717701

View File

@ -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',