Skip to content

Commit

Permalink
Build both a partial renderer and fizz renderer of the legacy API for FB
Browse files Browse the repository at this point in the history
This lets us test how the new architecture performs without comparing it to
other infra changes related to streaming.

I renamed the streaming one to ReactDOMServerStreaming so the references
in www need to be updated.

I'll open an adhoc sync with just those files.
  • Loading branch information
sebmarkbage committed Dec 10, 2021
1 parent b72dc8e commit 6c31274
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,14 @@ const bundles = [

/******* React DOM Server *******/
{
bundleTypes: __EXPERIMENTAL__
? [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD]
: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
bundleTypes: [
UMD_DEV,
UMD_PROD,
NODE_DEV,
NODE_PROD,
FB_WWW_DEV,
FB_WWW_PROD,
],
moduleType: RENDERER,
entry: 'react-dom/src/server/ReactDOMLegacyServerBrowser',
name: 'react-dom-server-legacy.browser',
Expand Down Expand Up @@ -299,7 +304,7 @@ const bundles = [
bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [],
moduleType: RENDERER,
entry: 'react-server-dom-relay/src/ReactDOMServerFB',
global: 'ReactDOMServer',
global: 'ReactDOMServerStreaming',
minifyWithProdErrorCodes: false,
externals: ['react'],
},
Expand Down

0 comments on commit 6c31274

Please sign in to comment.