mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
chore: use webpackbar basic reporter for less verbose output
This commit is contained in:
parent
47c738cd9d
commit
17160c31ed
@ -79,16 +79,8 @@ function basePlugins (ctx: WebpackConfigContext) {
|
|||||||
config.plugins.push(new WebpackBar({
|
config.plugins.push(new WebpackBar({
|
||||||
name: ctx.name,
|
name: ctx.name,
|
||||||
color: colors[ctx.name],
|
color: colors[ctx.name],
|
||||||
reporters: [
|
reporters: ['basic'],
|
||||||
'basic',
|
basic: true,
|
||||||
'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,
|
|
||||||
reporter: {
|
reporter: {
|
||||||
change: (_, { shortPath }) => {
|
change: (_, { shortPath }) => {
|
||||||
if (!ctx.isServer) {
|
if (!ctx.isServer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user