perf: remove preserveWhitespace

This commit is contained in:
花裤衩 2020-06-24 10:12:20 +08:00
parent 73a9ab0379
commit 52b02b34c4
1 changed files with 0 additions and 11 deletions

View File

@ -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 => {