test: codecovWebpackPlugin not running (#50423)

This commit is contained in:
afc163 2024-08-14 22:17:09 +08:00 committed by GitHub
parent 85afc8d668
commit 5403c69fed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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