Sfoglia il codice sorgente

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

花裤衩 5 anni fa
parent
commit
879318692c
1 ha cambiato i file con 0 aggiunte e 11 eliminazioni
  1. 0 11
      vue.config.js

+ 0 - 11
vue.config.js

@@ -80,17 +80,6 @@ module.exports = {
       })
       .end()
 
-    // set preserveWhitespace
-    config.module
-      .rule('vue')
-      .use('vue-loader')
-      .loader('vue-loader')
-      .tap(options => {
-        options.compilerOptions.preserveWhitespace = true
-        return options
-      })
-      .end()
-
     config
       .when(process.env.NODE_ENV !== 'development',
         config => {