1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-02 22:25:53 +08:00

perf: remove preserveWhitespace

This commit is contained in:
花裤衩 2020-06-24 10:12:20 +08:00
parent 73a9ab0379
commit 52b02b34c4

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