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:
remigermain 2020-09-09 11:37:49 +02:00 committed by GitHub
parent 7961e539da
commit 7e3532ea59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -470,6 +470,12 @@ export function getNuxtConfig (_options) {
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 -----
// Loading screen