[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
Josh Story committed
May 2, 2024 at 07:39 UTC
c7b1ae5a9ed58abece101d09c47ddd1e0b181fe2
1 file changed
+2
dangerfile.js
+2
@@ -44,7 +44,9 @@ const CRITICAL_ARTIFACT_PATHS = new Set([
44
// We always report changes to these bundles, even if the change is
45
// insignificant or non-existent.
46
'oss-stable/react-dom/cjs/react-dom.production.js',
47
+ 'oss-stable/react-dom/cjs/react-dom-client.production.js',
48
'oss-experimental/react-dom/cjs/react-dom.production.js',
49
+ 'oss-experimental/react-dom/cjs/react-dom-client.production.js',
50
'facebook-www/ReactDOM-prod.classic.js',
51
'facebook-www/ReactDOM-prod.modern.js',
52
]);