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:
Sebastian Markbåge
2024-06-28 16:19:20 +02:00
committed by GitHub
parent 0d1fdb5c2e
commit 58af67a8f8
5 changed files with 332 additions and 271 deletions

View File

@@ -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',