From 17160c31eddc643b5653404e29d2d478cb779368 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Wed, 20 Jan 2021 15:46:07 +0100 Subject: [PATCH] chore: use webpackbar basic reporter for less verbose output --- packages/nuxt3/src/webpack/presets/base.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/packages/nuxt3/src/webpack/presets/base.ts b/packages/nuxt3/src/webpack/presets/base.ts index c7f90099e4..58801f70ac 100644 --- a/packages/nuxt3/src/webpack/presets/base.ts +++ b/packages/nuxt3/src/webpack/presets/base.ts @@ -79,16 +79,8 @@ function basePlugins (ctx: WebpackConfigContext) { config.plugins.push(new WebpackBar({ name: ctx.name, color: colors[ctx.name], - reporters: [ - 'basic', - 'fancy', - 'profile', - 'stats' - ], - basic: !options.build.quiet && stdEnv.minimalCLI, - fancy: !options.build.quiet && !stdEnv.minimalCLI, - profile: !options.build.quiet && options.build.profile, - stats: !options.build.quiet && !options.dev && options.build.stats, + reporters: ['basic'], + basic: true, reporter: { change: (_, { shortPath }) => { if (!ctx.isServer) {