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

Remove warning DeprecationWarning: config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-12-03 15:49:16 +08:00
parent 1b6e37883e
commit d660760c70
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792

View File

@ -44,12 +44,10 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
filename: "[name].js",
chunkFilename: "chunks/[name].js",
},
stats: {
warningsFilter: [
/Critical dependency: the request of a dependency is an expression/,
/export '.*' was not found in/
]
},
ignoreWarnings: [
/Critical dependency: the request of a dependency is an expression/,
/export '.*' was not found in/
],
resolve: {
extensions: [
".js", ".jsx", ".json",