Silence webpack-extension-api output

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-01-07 11:22:49 +08:00
1 parent bcfa00aea5
commit cb1a3bc80d
1 file changed
+5 -2
+5 -2
View File
@@ -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"
};
}