[js/web] fix perf mode in test (#8748)

This commit is contained in:
Yulong Wang 2021-08-16 23:18:42 -07:00 committed by GitHub
parent 4ceedbe933
commit f668a79532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,9 @@ function buildTestRunnerConfig({
},
plugins: [
new webpack.WatchIgnorePlugin({ paths: [/\.js$/, /\.d\.ts$/] }),
new NodePolyfillPlugin(),
new NodePolyfillPlugin({
excludeAliases: ["console"]
}),
],
module: {
rules: [{