mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-16 12:25:15 -06:00
feat: enable caching for uglifyjs plugin
This commit is contained in:
@@ -77,13 +77,11 @@ module.exports = (api, options) => {
|
||||
// required features to drop conditional branches
|
||||
conditionals: true,
|
||||
dead_code: true,
|
||||
evaluate: true,
|
||||
|
||||
// turn off warnings when dropping dead code
|
||||
warnings: false
|
||||
evaluate: true
|
||||
}
|
||||
},
|
||||
sourceMap: options.productionSourceMap,
|
||||
cache: true,
|
||||
parallel: true
|
||||
}])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user