feat: enable caching for uglifyjs plugin

This commit is contained in:
Evan You
2018-01-24 12:37:24 -05:00
parent bd1ffd3e69
commit abaed004bd

View File

@@ -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
}])
}