Skip to content

Commit

Permalink
Revert "[react-www] remove forked bundle" (#25837)
Browse files Browse the repository at this point in the history
Reverts #25831
  • Loading branch information
rickhanlonii authored Dec 7, 2022
1 parent d69b2cf commit d4bc16a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down
11 changes: 11 additions & 0 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d4bc16a

Please sign in to comment.