Skip to content

Commit c7b1ae5

Browse files
authored
[Tooling] Update critical artifact list (#28966)
When a React PR is opened CI will report large size changes. But for critical packages like react-dom it reports always. In React 19 we moved the build for react-dom the client reconciler from react-dom to react-dom/client This change adds react-dom-client artifacts for stable and oss channels since that is originally what was being tracked. But since react-dom/client always imports react-dom I left the original react-dom packages as critical as well. They are small but it would be good to keep an eye on them
1 parent 29d3c83 commit c7b1ae5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dangerfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ const CRITICAL_ARTIFACT_PATHS = new Set([
4444
// We always report changes to these bundles, even if the change is
4545
// insignificant or non-existent.
4646
'oss-stable/react-dom/cjs/react-dom.production.js',
47+
'oss-stable/react-dom/cjs/react-dom-client.production.js',
4748
'oss-experimental/react-dom/cjs/react-dom.production.js',
49+
'oss-experimental/react-dom/cjs/react-dom-client.production.js',
4850
'facebook-www/ReactDOM-prod.classic.js',
4951
'facebook-www/ReactDOM-prod.modern.js',
5052
]);

0 commit comments

Comments
 (0)