From 575ebfbe33fb47dce2e19389b744907ea7a54eb2 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 20 Mar 2023 11:50:18 +0100 Subject: [PATCH] hide warning from AST package --- apps/remix-ide/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/webpack.config.js b/apps/remix-ide/webpack.config.js index 347f12371e..1705f29d32 100644 --- a/apps/remix-ide/webpack.config.js +++ b/apps/remix-ide/webpack.config.js @@ -77,7 +77,7 @@ module.exports = composePlugins(withNx(), withReact(), (config) => { enforce: "pre" }) - config.ignoreWarnings = [/Failed to parse source map/] // ignore source-map-loader warnings + config.ignoreWarnings = [/Failed to parse source map/, /require function/ ] // ignore source-map-loader warnings & AST warnings // set minimizer config.optimization.minimizer = [