From 7e3532ea5986930b230fff041bf088ab8004285a Mon Sep 17 00:00:00 2001 From: remigermain <66946113+remigermain@users.noreply.github.com> Date: Wed, 9 Sep 2020 11:37:49 +0200 Subject: [PATCH] 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 Co-authored-by: pooya parsa --- packages/config/src/options.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/config/src/options.js b/packages/config/src/options.js index e7ee6e12c3..f5e52afe3c 100644 --- a/packages/config/src/options.js +++ b/packages/config/src/options.js @@ -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