@@ -25,6 +25,10 @@ const bundleTypes = {
2525 RN_FB_DEV : 'RN_FB_DEV' ,
2626 RN_FB_PROD : 'RN_FB_PROD' ,
2727 RN_FB_PROFILING : 'RN_FB_PROFILING' ,
28+ IIFE_DEV : 'IIFE_DEV' ,
29+ IIFE_PROD : 'IIFE_PROD' ,
30+ FB_IIFE_DEV : 'FB_IIFE_DEV' ,
31+ FB_IIFE_PROD : 'FB_IIFE_PROD' ,
2832} ;
2933
3034const {
@@ -45,6 +49,10 @@ const {
4549 RN_FB_DEV ,
4650 RN_FB_PROD ,
4751 RN_FB_PROFILING ,
52+ IIFE_DEV ,
53+ IIFE_PROD ,
54+ FB_IIFE_DEV ,
55+ FB_IIFE_PROD ,
4856} = bundleTypes ;
4957
5058const moduleTypes = {
@@ -330,6 +338,19 @@ const bundles = [
330338 externals : [ 'react' , 'react-dom' ] ,
331339 } ,
332340
341+ {
342+ bundleTypes : __EXPERIMENTAL__
343+ ? [ IIFE_DEV , IIFE_PROD , FB_IIFE_DEV , FB_IIFE_PROD ]
344+ : [ ] ,
345+ moduleType : RENDERER ,
346+ entry : 'react-dom/instruction-streaming-runtime' ,
347+ name : 'instruction-streaming-runtime' ,
348+ global : 'ReactDOMInstructionStreamingRuntime' ,
349+ minifyWithProdErrorCodes : true ,
350+ wrapWithModuleBoundaries : false ,
351+ externals : [ ] ,
352+ } ,
353+
333354 /******* React DOM Fizz Static *******/
334355 {
335356 bundleTypes : __EXPERIMENTAL__ ? [ NODE_DEV , NODE_PROD ] : [ ] ,
@@ -1006,6 +1027,8 @@ function getOriginalFilename(bundle, bundleType) {
10061027 return `${ name } .js` ;
10071028 case NODE_ESM :
10081029 return `${ name } .js` ;
1030+ case IIFE_DEV :
1031+ return `${ name } .development.js` ;
10091032 case UMD_DEV :
10101033 return `${ name } .development.js` ;
10111034 case UMD_PROD :
@@ -1018,13 +1041,17 @@ function getOriginalFilename(bundle, bundleType) {
10181041 return `${ name } .production.min.js` ;
10191042 case NODE_PROFILING :
10201043 return `${ name } .profiling.min.js` ;
1044+ case IIFE_PROD :
1045+ return `${ name } .production.min.js` ;
10211046 case FB_WWW_DEV :
10221047 case RN_OSS_DEV :
10231048 case RN_FB_DEV :
1049+ case FB_IIFE_DEV :
10241050 return `${ globalName } -dev.js` ;
10251051 case FB_WWW_PROD :
10261052 case RN_OSS_PROD :
10271053 case RN_FB_PROD :
1054+ case FB_IIFE_PROD :
10281055 return `${ globalName } -prod.js` ;
10291056 case FB_WWW_PROFILING :
10301057 case RN_FB_PROFILING :
0 commit comments