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

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 2020-12-14 14:25:28 +08:00
parent bcfa00aea5
commit cb1a3bc80d
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792

View File

@ -25,7 +25,7 @@ export default function (): webpack.Configuration {
optimization: { optimization: {
// we don't really need minimize // we don't really need minimize
// default is true // default is true
minimize: false minimize: false,
}, },
cache: isDevelopment ? { cache: isDevelopment ? {
type: "filesystem", type: "filesystem",
@ -132,6 +132,9 @@ export default function (): webpack.Configuration {
// moduleName: '@k8slens/extensions', // moduleName: '@k8slens/extensions',
// out: 'extension-api.d.ts', // out: 'extension-api.d.ts',
// }) // })
] ],
// we probably don't need warnings as
// the output is only used for extension development/testing
stats: "errors-only"
}; };
} }