1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 03:04:59 +08:00

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

This commit is contained in:
花裤衩 2020-06-24 10:17:57 +08:00 committed by GitHub
parent 73a9ab0379
commit 7c06214190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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