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",
|
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",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user