mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 10:27:15 +00:00
Force preserveWhitespace to false to avoid SSR mismatch
This commit is contained in:
parent
32d3045884
commit
b114717701
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user