@@ -98,6 +98,7 @@ const bundles = [
98
98
moduleType : ISOMORPHIC ,
99
99
entry : 'react/src/ReactServer.js' ,
100
100
name : 'react.react-server' ,
101
+ condition : 'react-server' ,
101
102
global : 'React' ,
102
103
minifyWithProdErrorCodes : true ,
103
104
wrapWithModuleBoundaries : false ,
@@ -109,6 +110,7 @@ const bundles = [
109
110
bundleTypes : __EXPERIMENTAL__ ? [ FB_WWW_DEV , FB_WWW_PROD ] : [ ] ,
110
111
moduleType : ISOMORPHIC ,
111
112
entry : 'react/src/ReactServerFB.js' ,
113
+ condition : 'react-server' ,
112
114
global : 'ReactServer' ,
113
115
minifyWithProdErrorCodes : true ,
114
116
wrapWithModuleBoundaries : false ,
@@ -140,6 +142,7 @@ const bundles = [
140
142
moduleType : ISOMORPHIC ,
141
143
entry : 'react/src/jsx/ReactJSXServer.js' ,
142
144
name : 'react-jsx-runtime.react-server' ,
145
+ condition : 'react-server' ,
143
146
global : 'JSXRuntime' ,
144
147
minifyWithProdErrorCodes : false ,
145
148
wrapWithModuleBoundaries : false ,
@@ -194,6 +197,7 @@ const bundles = [
194
197
moduleType : RENDERER ,
195
198
entry : 'react-dom/src/ReactDOMServer.js' ,
196
199
name : 'react-dom.react-server' ,
200
+ condition : 'react-server' ,
197
201
global : 'ReactDOM' ,
198
202
minifyWithProdErrorCodes : false ,
199
203
wrapWithModuleBoundaries : false ,
@@ -289,6 +293,7 @@ const bundles = [
289
293
bundleTypes : __EXPERIMENTAL__ ? [ FB_WWW_DEV , FB_WWW_PROD ] : [ ] ,
290
294
moduleType : RENDERER ,
291
295
entry : 'react-server-dom-fb/src/ReactDOMServerFB.js' ,
296
+ condition : 'react-server' ,
292
297
global : 'ReactDOMServerStreaming' ,
293
298
minifyWithProdErrorCodes : false ,
294
299
wrapWithModuleBoundaries : false ,
@@ -350,6 +355,7 @@ const bundles = [
350
355
bundleTypes : [ NODE_DEV , NODE_PROD , UMD_DEV , UMD_PROD ] ,
351
356
moduleType : RENDERER ,
352
357
entry : 'react-server-dom-webpack/server.browser' ,
358
+ condition : 'react-server' ,
353
359
global : 'ReactServerDOMServer' ,
354
360
minifyWithProdErrorCodes : false ,
355
361
wrapWithModuleBoundaries : false ,
@@ -359,6 +365,7 @@ const bundles = [
359
365
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
360
366
moduleType : RENDERER ,
361
367
entry : 'react-server-dom-webpack/server.node' ,
368
+ condition : 'react-server' ,
362
369
global : 'ReactServerDOMServer' ,
363
370
minifyWithProdErrorCodes : false ,
364
371
wrapWithModuleBoundaries : false ,
@@ -368,6 +375,7 @@ const bundles = [
368
375
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
369
376
moduleType : RENDERER ,
370
377
entry : 'react-server-dom-webpack/server.node.unbundled' ,
378
+ condition : 'react-server' ,
371
379
global : 'ReactServerDOMServer' ,
372
380
minifyWithProdErrorCodes : false ,
373
381
wrapWithModuleBoundaries : false ,
@@ -377,6 +385,7 @@ const bundles = [
377
385
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
378
386
moduleType : RENDERER ,
379
387
entry : 'react-server-dom-webpack/server.edge' ,
388
+ condition : 'react-server' ,
380
389
global : 'ReactServerDOMServer' ,
381
390
minifyWithProdErrorCodes : false ,
382
391
wrapWithModuleBoundaries : false ,
@@ -437,6 +446,7 @@ const bundles = [
437
446
bundleTypes : [ ESM_PROD ] ,
438
447
moduleType : RENDERER_UTILS ,
439
448
entry : 'react-server-dom-webpack/node-loader' ,
449
+ condition : 'react-server' ,
440
450
global : 'ReactServerWebpackNodeLoader' ,
441
451
minifyWithProdErrorCodes : false ,
442
452
wrapWithModuleBoundaries : false ,
@@ -449,6 +459,7 @@ const bundles = [
449
459
moduleType : RENDERER_UTILS ,
450
460
entry : 'react-server-dom-webpack/src/ReactFlightWebpackNodeRegister' ,
451
461
name : 'react-server-dom-webpack-node-register' ,
462
+ condition : 'react-server' ,
452
463
global : 'ReactFlightWebpackNodeRegister' ,
453
464
minifyWithProdErrorCodes : false ,
454
465
wrapWithModuleBoundaries : false ,
@@ -460,6 +471,7 @@ const bundles = [
460
471
bundleTypes : [ NODE_DEV , NODE_PROD , UMD_DEV , UMD_PROD ] ,
461
472
moduleType : RENDERER ,
462
473
entry : 'react-server-dom-turbopack/server.browser' ,
474
+ condition : 'react-server' ,
463
475
global : 'ReactServerDOMServer' ,
464
476
minifyWithProdErrorCodes : false ,
465
477
wrapWithModuleBoundaries : false ,
@@ -469,6 +481,7 @@ const bundles = [
469
481
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
470
482
moduleType : RENDERER ,
471
483
entry : 'react-server-dom-turbopack/server.node' ,
484
+ condition : 'react-server' ,
472
485
global : 'ReactServerDOMServer' ,
473
486
minifyWithProdErrorCodes : false ,
474
487
wrapWithModuleBoundaries : false ,
@@ -478,6 +491,7 @@ const bundles = [
478
491
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
479
492
moduleType : RENDERER ,
480
493
entry : 'react-server-dom-turbopack/server.node.unbundled' ,
494
+ condition : 'react-server' ,
481
495
global : 'ReactServerDOMServer' ,
482
496
minifyWithProdErrorCodes : false ,
483
497
wrapWithModuleBoundaries : false ,
@@ -487,6 +501,7 @@ const bundles = [
487
501
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
488
502
moduleType : RENDERER ,
489
503
entry : 'react-server-dom-turbopack/server.edge' ,
504
+ condition : 'react-server' ,
490
505
global : 'ReactServerDOMServer' ,
491
506
minifyWithProdErrorCodes : false ,
492
507
wrapWithModuleBoundaries : false ,
@@ -540,6 +555,7 @@ const bundles = [
540
555
bundleTypes : [ ESM_PROD ] ,
541
556
moduleType : RENDERER_UTILS ,
542
557
entry : 'react-server-dom-turbopack/node-loader' ,
558
+ condition : 'react-server' ,
543
559
global : 'ReactServerTurbopackNodeLoader' ,
544
560
minifyWithProdErrorCodes : false ,
545
561
wrapWithModuleBoundaries : false ,
@@ -552,6 +568,7 @@ const bundles = [
552
568
moduleType : RENDERER_UTILS ,
553
569
entry : 'react-server-dom-turbopack/src/ReactFlightTurbopackNodeRegister' ,
554
570
name : 'react-server-dom-turbopack-node-register' ,
571
+ condition : 'react-server' ,
555
572
global : 'ReactFlightWebpackNodeRegister' ,
556
573
minifyWithProdErrorCodes : false ,
557
574
wrapWithModuleBoundaries : false ,
@@ -563,6 +580,7 @@ const bundles = [
563
580
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
564
581
moduleType : RENDERER ,
565
582
entry : 'react-server-dom-esm/server.node' ,
583
+ condition : 'react-server' ,
566
584
minifyWithProdErrorCodes : false ,
567
585
wrapWithModuleBoundaries : false ,
568
586
externals : [ 'react' , 'util' , 'crypto' , 'async_hooks' , 'react-dom' ] ,
@@ -591,6 +609,7 @@ const bundles = [
591
609
bundleTypes : [ ESM_PROD ] ,
592
610
moduleType : RENDERER_UTILS ,
593
611
entry : 'react-server-dom-esm/node-loader' ,
612
+ condition : 'react-server' ,
594
613
global : 'ReactServerESMNodeLoader' ,
595
614
minifyWithProdErrorCodes : false ,
596
615
wrapWithModuleBoundaries : false ,
@@ -602,6 +621,7 @@ const bundles = [
602
621
bundleTypes : __EXPERIMENTAL__ ? [ FB_WWW_DEV , FB_WWW_PROD ] : [ ] ,
603
622
moduleType : RENDERER ,
604
623
entry : 'react-server-dom-fb/src/ReactFlightDOMServerFB.js' ,
624
+ condition : 'react-server' ,
605
625
global : 'ReactFlightDOMServer' ,
606
626
minifyWithProdErrorCodes : false ,
607
627
wrapWithModuleBoundaries : false ,
@@ -796,6 +816,7 @@ const bundles = [
796
816
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
797
817
moduleType : RENDERER ,
798
818
entry : 'react-noop-renderer/flight-server' ,
819
+ condition : 'react-server' ,
799
820
global : 'ReactNoopFlightServer' ,
800
821
minifyWithProdErrorCodes : false ,
801
822
wrapWithModuleBoundaries : false ,
@@ -850,6 +871,7 @@ const bundles = [
850
871
bundleTypes : [ NODE_DEV , NODE_PROD ] ,
851
872
moduleType : RECONCILER ,
852
873
entry : 'react-server/flight' ,
874
+ condition : 'react-server' ,
853
875
global : 'ReactFlightServer' ,
854
876
minifyWithProdErrorCodes : false ,
855
877
wrapWithModuleBoundaries : false ,
0 commit comments