Skip to content

Commit a0881f8

Browse files
committed
update bundles config
1 parent 9de32f8 commit a0881f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/rollup/bundles.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const bundles = [
106106

107107
/******* Isomorphic Shared Subset for FB *******/
108108
{
109-
bundleTypes: [FB_WWW_DEV, FB_WWW_PROD],
109+
bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [],
110110
moduleType: ISOMORPHIC,
111111
entry: 'react/src/ReactSharedSubsetFB.js',
112112
global: 'ReactSharedSubset',
@@ -587,7 +587,7 @@ const bundles = [
587587

588588
/******* React Server DOM FB Server *******/
589589
{
590-
bundleTypes: [FB_WWW_DEV, FB_WWW_PROD],
590+
bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [],
591591
moduleType: RENDERER,
592592
entry: 'react-server-dom-fb/src/ReactFlightDOMServerFB.js',
593593
global: 'ReactFlightDOMServer',
@@ -598,7 +598,7 @@ const bundles = [
598598

599599
/******* React Server DOM FB Client *******/
600600
{
601-
bundleTypes: [FB_WWW_DEV, FB_WWW_PROD],
601+
bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [],
602602
moduleType: RENDERER,
603603
entry: 'react-server-dom-fb/src/ReactFlightDOMClientFB.js',
604604
global: 'ReactFlightDOMClient',

0 commit comments

Comments
 (0)