Skip to content

Commit

Permalink
perf[chore]: remove preserveWhitespace config (PanJiaChen#3280)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen authored and Trong. Pham Van - CMC Global DU1.19 committed Jul 22, 2022
1 parent f76bf86 commit a443964
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,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 => {
Expand Down

0 comments on commit a443964

Please sign in to comment.