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 = [