mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Only build react-html in experimental channel (#30129)
Even though the whole package is private right now. Once we publish it, it'll likely be just the experimental channel first before upgrading to stable. This means it gets excluded from the built packages.
This commit is contained in:
committed by
GitHub
parent
0d1fdb5c2e
commit
58af67a8f8
@@ -365,7 +365,7 @@ const bundles = [
|
||||
|
||||
/******* React HTML RSC *******/
|
||||
{
|
||||
bundleTypes: [NODE_DEV, NODE_PROD],
|
||||
bundleTypes: __EXPERIMENTAL__ ? [NODE_DEV, NODE_PROD] : [],
|
||||
moduleType: RENDERER,
|
||||
entry: 'react-html/src/ReactHTMLServer.js',
|
||||
name: 'react-html.react-server',
|
||||
@@ -378,7 +378,7 @@ const bundles = [
|
||||
|
||||
/******* React HTML Client *******/
|
||||
{
|
||||
bundleTypes: [NODE_DEV, NODE_PROD],
|
||||
bundleTypes: __EXPERIMENTAL__ ? [NODE_DEV, NODE_PROD] : [],
|
||||
moduleType: RENDERER,
|
||||
entry: 'react-html/src/ReactHTMLClient.js',
|
||||
name: 'react-html',
|
||||
|
||||
Reference in New Issue
Block a user