Skip to content

Commit

Permalink
Mark as renderer for stable
Browse files Browse the repository at this point in the history
This shouldn't affect the FB one ideally but it's done with the same build
so let's hope this works.
  • Loading branch information
sebmarkbage committed Jun 14, 2021
1 parent b24fbf8 commit c24b569
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,9 @@ 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 {
ISOMORPHIC,
RENDERER,
RENDERER_UTILS,
RECONCILER,
NON_FIBER_RENDERER,
} = moduleTypes;
const {ISOMORPHIC, RENDERER, RENDERER_UTILS, RECONCILER} = moduleTypes;

const bundles = [
/******* Isomorphic *******/
Expand Down Expand Up @@ -241,7 +233,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'],
Expand All @@ -254,7 +246,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 =>
Expand Down

0 comments on commit c24b569

Please sign in to comment.