From 1b72b75bf5807ed31cfef0f0fd6d1a7874f0cecf Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Mon, 14 Jun 2021 15:35:46 -0400 Subject: [PATCH] Mark as renderer for stable This shouldn't affect the FB one ideally but it's done with the same build so let's hope this works. --- scripts/rollup/bundles.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/rollup/bundles.js b/scripts/rollup/bundles.js index 624c34bd2d9af..35014fea9fb0b 100644 --- a/scripts/rollup/bundles.js +++ b/scripts/rollup/bundles.js @@ -56,8 +56,6 @@ const moduleTypes = { RENDERER_UTILS: 'RENDERER_UTILS', // Standalone reconciler for third-party renderers. RECONCILER: 'RECONCILER', - // Non-Fiber implementations like SSR and Shallow renderers. - NON_FIBER_RENDERER: 'NON_FIBER_RENDERER', }; const { @@ -65,7 +63,6 @@ const { RENDERER, RENDERER_UTILS, RECONCILER, - NON_FIBER_RENDERER, } = moduleTypes; const bundles = [ @@ -241,7 +238,7 @@ const bundles = [ bundleTypes: __EXPERIMENTAL__ ? [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD] : [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD], - moduleType: __EXPERIMENTAL__ ? RENDERER : NON_FIBER_RENDERER, + moduleType: RENDERER, entry: 'react-dom/server.browser', global: 'ReactDOMServer', externals: ['react'], @@ -254,7 +251,7 @@ const bundles = [ }, { bundleTypes: [NODE_DEV, NODE_PROD], - moduleType: __EXPERIMENTAL__ ? RENDERER : NON_FIBER_RENDERER, + moduleType: RENDERER, entry: 'react-dom/server.node', externals: ['react', 'stream'], babel: opts =>