From f668a795325073e5f47910b933bf537a73a7c970 Mon Sep 17 00:00:00 2001 From: Yulong Wang Date: Mon, 16 Aug 2021 23:18:42 -0700 Subject: [PATCH] [js/web] fix perf mode in test (#8748) --- js/web/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/web/webpack.config.js b/js/web/webpack.config.js index 0c938c11a2..0d495adb9b 100644 --- a/js/web/webpack.config.js +++ b/js/web/webpack.config.js @@ -175,7 +175,9 @@ function buildTestRunnerConfig({ }, plugins: [ new webpack.WatchIgnorePlugin({ paths: [/\.js$/, /\.d\.ts$/] }), - new NodePolyfillPlugin(), + new NodePolyfillPlugin({ + excludeAliases: ["console"] + }), ], module: { rules: [{