diff --git a/dangerfile.js b/dangerfile.js index 2322e85654474..b0c95d27b0f38 100644 --- a/dangerfile.js +++ b/dangerfile.js @@ -46,6 +46,7 @@ const CRITICAL_ARTIFACT_PATHS = new Set([ 'oss-experimental/react-dom/cjs/react-dom.production.min.js', 'facebook-www/ReactDOM-prod.classic.js', 'facebook-www/ReactDOM-prod.modern.js', + 'facebook-www/ReactDOMForked-prod.classic.js', ]); const kilobyteFormatter = new Intl.NumberFormat('en', { diff --git a/scripts/rollup/bundles.js b/scripts/rollup/bundles.js index 08160a0c86ac2..271e5770b87e3 100644 --- a/scripts/rollup/bundles.js +++ b/scripts/rollup/bundles.js @@ -163,6 +163,17 @@ const bundles = [ externals: ['react'], }, + /******* React DOM - www - Uses forked reconciler *******/ + { + moduleType: RENDERER, + bundleTypes: [FB_WWW_DEV, FB_WWW_PROD, FB_WWW_PROFILING], + entry: 'react-dom', + global: 'ReactDOMForked', + minifyWithProdErrorCodes: true, + wrapWithModuleBoundaries: true, + externals: ['react'], + }, + /******* Test Utils *******/ { moduleType: RENDERER_UTILS,