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