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, postcss: this.options.build.postcss,
extractCSS: this.options.build.extractCSS, extractCSS: this.options.build.extractCSS,
cssSourceMap: this.options.build.cssSourceMap, cssSourceMap: this.options.build.cssSourceMap,
preserveWhitespace: true, preserveWhitespace: false,
loaders: { loaders: {
'js': { 'js': {
loader: 'babel-loader', loader: 'babel-loader',