refactor: remove unnecessary splitChunks process (#3791)

This commit is contained in:
Clark Du 2018-08-23 14:48:05 +01:00 committed by Sébastien Chopin
parent 567dc860c1
commit ba5df53042

View File

@ -184,12 +184,6 @@ Options.from = function (_options) {
options.generate.fallback = '404.html'
}
// Enable [name] when analyze or dev mode
if (options.build.optimization.splitChunks.name === undefined &&
(options.dev || options.build.analyze)) {
options.build.optimization.splitChunks.name = true
}
if (options.build.stats === 'none' || options.build.quiet === true) {
options.build.stats = false
}