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:
parent
1b6e37883e
commit
d660760c70
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user