mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
refactor: remove unnecessary splitChunks process (#3791)
This commit is contained in:
parent
567dc860c1
commit
ba5df53042
@ -184,12 +184,6 @@ Options.from = function (_options) {
|
|||||||
options.generate.fallback = '404.html'
|
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) {
|
if (options.build.stats === 'none' || options.build.quiet === true) {
|
||||||
options.build.stats = false
|
options.build.stats = false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user