Skip to content

Commit 6c31274

Browse files
committed
Build both a partial renderer and fizz renderer of the legacy API for FB
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 b72dc8e commit 6c31274

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
@@ -245,9 +245,14 @@ const bundles = [
245245

246246
/******* React DOM Server *******/
247247
{
248-
bundleTypes: __EXPERIMENTAL__
249-
? [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD]
250-
: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
248+
bundleTypes: [
249+
UMD_DEV,
250+
UMD_PROD,
251+
NODE_DEV,
252+
NODE_PROD,
253+
FB_WWW_DEV,
254+
FB_WWW_PROD,
255+
],
251256
moduleType: RENDERER,
252257
entry: 'react-dom/src/server/ReactDOMLegacyServerBrowser',
253258
name: 'react-dom-server-legacy.browser',
@@ -299,7 +304,7 @@ const bundles = [
299304
bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [],
300305
moduleType: RENDERER,
301306
entry: 'react-server-dom-relay/src/ReactDOMServerFB',
302-
global: 'ReactDOMServer',
307+
global: 'ReactDOMServerStreaming',
303308
minifyWithProdErrorCodes: false,
304309
externals: ['react'],
305310
},

0 commit comments

Comments
 (0)