mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
fix(config): normalize build.indicator: true
to default value (#8030)
* fix(config): indicator set to true * fix eslint * Update options.js * indicator is not ad-hoc Co-authored-by: rgermain <germain.remi@protonmail.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
This commit is contained in:
parent
7961e539da
commit
7e3532ea59
@ -470,6 +470,12 @@ export function getNuxtConfig (_options) {
|
|||||||
options.createRequire = module => createRequire(module.filename)
|
options.createRequire = module => createRequire(module.filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Indicator
|
||||||
|
// Change boolean true to default nuxt value
|
||||||
|
if (options.build.indicator === true) {
|
||||||
|
options.build.indicator = nuxtConfig.build.indicator
|
||||||
|
}
|
||||||
|
|
||||||
// ----- Builtin modules -----
|
// ----- Builtin modules -----
|
||||||
|
|
||||||
// Loading screen
|
// Loading screen
|
||||||
|
Loading…
Reference in New Issue
Block a user