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", filename: "[name].js",
chunkFilename: "chunks/[name].js", chunkFilename: "chunks/[name].js",
}, },
stats: { ignoreWarnings: [
warningsFilter: [ /Critical dependency: the request of a dependency is an expression/,
/Critical dependency: the request of a dependency is an expression/, /export '.*' was not found in/
/export '.*' was not found in/ ],
]
},
resolve: { resolve: {
extensions: [ extensions: [
".js", ".jsx", ".json", ".js", ".jsx", ".json",