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:
parent
73a9ab0379
commit
7c06214190
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user