Skip to content

Commit cd1a3e9

Browse files
authored
Build both a partial renderer and fizz renderer of the legacy API for FB (#22933)
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.
1 parent 75d34aa commit cd1a3e9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎scripts/rollup/bundles.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,14 @@ const bundles = [
259259

260260
/******* React DOM Server *******/
261261
{
262-
bundleTypes: __EXPERIMENTAL__
263-
? [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD]
264-
: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
262+
bundleTypes: [
263+
UMD_DEV,
264+
UMD_PROD,
265+
NODE_DEV,
266+
NODE_PROD,
267+
FB_WWW_DEV,
268+
FB_WWW_PROD,
269+
],
265270
moduleType: RENDERER,
266271
entry: 'react-dom/src/server/ReactDOMLegacyServerBrowser',
267272
name: 'react-dom-server-legacy.browser',
@@ -317,7 +322,7 @@ const bundles = [
317322
bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [],
318323
moduleType: RENDERER,
319324
entry: 'react-server-dom-relay/src/ReactDOMServerFB',
320-
global: 'ReactDOMServer',
325+
global: 'ReactDOMServerStreaming',
321326
minifyWithProdErrorCodes: false,
322327
wrapWithModuleBoundaries: false,
323328
externals: ['react'],

0 commit comments

Comments
 (0)