Skip to content

Commit

Permalink
perf[chore]: remove preserveWhitespace config (#3280)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Jun 24, 2020
1 parent 73a9ab0 commit 7c06214
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 7c06214

Please sign in to comment.