From cb1a3bc80db11b2ee3d53ad911449d7129927e8d Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" <1474479+chenhunghan@users.noreply.github.com> Date: Mon, 14 Dec 2020 14:25:28 +0800 Subject: [PATCH] Silence webpack-extension-api output Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com> --- webpack.extension-api.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/webpack.extension-api.ts b/webpack.extension-api.ts index 01a4113f70..8e7935cca4 100644 --- a/webpack.extension-api.ts +++ b/webpack.extension-api.ts @@ -25,7 +25,7 @@ export default function (): webpack.Configuration { optimization: { // we don't really need minimize // default is true - minimize: false + minimize: false, }, cache: isDevelopment ? { type: "filesystem", @@ -132,6 +132,9 @@ export default function (): webpack.Configuration { // moduleName: '@k8slens/extensions', // out: 'extension-api.d.ts', // }) - ] + ], + // we probably don't need warnings as + // the output is only used for extension development/testing + stats: "errors-only" }; }