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

This commit is contained in:
花裤衩 2020-06-24 10:21:07 +08:00 committed by GitHub
parent 8e76fdb622
commit 879318692c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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