Browse Source

perf[chore]: remove preserveWhitespace config (#597)

花裤衩 4 years ago
parent
commit
879318692c
1 changed files with 0 additions and 11 deletions
  1. 0 11
      vue.config.js

+ 0 - 11
vue.config.js

@@ -80,17 +80,6 @@ module.exports = {
80
       })
80
       })
81
       .end()
81
       .end()
82
 
82
 
83
-    // set preserveWhitespace
84
-    config.module
85
-      .rule('vue')
86
-      .use('vue-loader')
87
-      .loader('vue-loader')
88
-      .tap(options => {
89
-        options.compilerOptions.preserveWhitespace = true
90
-        return options
91
-      })
92
-      .end()
93
-
94
     config
83
     config
95
       .when(process.env.NODE_ENV !== 'development',
84
       .when(process.env.NODE_ENV !== 'development',
96
         config => {
85
         config => {