1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Use stats: minimal

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-12-14 20:33:31 +08:00
parent 4e02f943f3
commit a7a7675a3b
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792
3 changed files with 7 additions and 4 deletions

View File

@ -133,8 +133,7 @@ export default function (): webpack.Configuration {
// out: 'extension-api.d.ts',
// })
],
// we probably don't need warnings as
// the output is only used for extension development/testing
stats: "errors-only"
// only output when errors or new compilation happen
stats: "minimal"
};
}

View File

@ -68,6 +68,8 @@ export default function (): webpack.Configuration {
plugins: [
new ForkTsCheckerPlugin(),
new webpack.ProgressPlugin({ percentBy: "entries" }),
]
],
// only output when errors or new compilation happen
stats: "minimal"
};
}

View File

@ -188,5 +188,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
isDevelopment && new ReactRefreshWebpackPlugin(),
].filter(Boolean),
// only output when errors or new compilation happen
stats: "minimal"
};
}