From 5403c69fed905b8eb49313b199d4836371352c6f Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 14 Aug 2024 22:17:09 +0800 Subject: [PATCH] test: codecovWebpackPlugin not running (#50423) --- webpack.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index b306fdf609..f350f7cbb6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -86,6 +86,14 @@ if (process.env.RUN_ENV === 'PRODUCTION') { ); } + config.plugins.push( + codecovWebpackPlugin({ + enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, + bundleName: 'antd', + uploadToken: process.env.CODECOV_TOKEN, + }), + ); + config.plugins.push( new CircularDependencyPlugin({ // add errors to webpack instead of warnings