mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
ci: use jest shard (#35622)
This commit is contained in:
@@ -129,13 +129,15 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
});
|
||||
}
|
||||
|
||||
config.plugins.push(
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerMode: 'static',
|
||||
openAnalyzer: false,
|
||||
reportFilename: '../report.html',
|
||||
}),
|
||||
);
|
||||
if (!process.env.CI) {
|
||||
config.plugins.push(
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerMode: 'static',
|
||||
openAnalyzer: false,
|
||||
reportFilename: '../report.html',
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
if (!process.env.NO_DUP_CHECK) {
|
||||
config.plugins.push(
|
||||
|
||||
Reference in New Issue
Block a user