From 3c73a3d22e832afa6023b4f06b91cec4137c625f Mon Sep 17 00:00:00 2001 From: Andrey Lunyov Date: Sat, 11 Nov 2023 11:29:52 -0500 Subject: [PATCH] update bundles config --- scripts/rollup/bundles.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/rollup/bundles.js b/scripts/rollup/bundles.js index 0af3823e1b5c5..0ce6d052f8ca6 100644 --- a/scripts/rollup/bundles.js +++ b/scripts/rollup/bundles.js @@ -106,7 +106,7 @@ const bundles = [ /******* Isomorphic Shared Subset for FB *******/ { - bundleTypes: [FB_WWW_DEV, FB_WWW_PROD], + bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [], moduleType: ISOMORPHIC, entry: 'react/src/ReactSharedSubsetFB.js', global: 'ReactSharedSubset', @@ -587,7 +587,7 @@ const bundles = [ /******* React Server DOM FB Server *******/ { - bundleTypes: [FB_WWW_DEV, FB_WWW_PROD], + bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [], moduleType: RENDERER, entry: 'react-server-dom-fb/src/ReactFlightDOMServerFB.js', global: 'ReactFlightDOMServer', @@ -598,7 +598,7 @@ const bundles = [ /******* React Server DOM FB Client *******/ { - bundleTypes: [FB_WWW_DEV, FB_WWW_PROD], + bundleTypes: __EXPERIMENTAL__ ? [FB_WWW_DEV, FB_WWW_PROD] : [], moduleType: RENDERER, entry: 'react-server-dom-fb/src/ReactFlightDOMClientFB.js', global: 'ReactFlightDOMClient',