5
UMD_PROD: 'UMD_PROD',
6
NODE_DEV: 'NODE_DEV',
7
NODE_PROD: 'NODE_PROD',
8
- FB_DEV: 'FB_DEV',
9
- FB_PROD: 'FB_PROD',
10
- RN_DEV: 'RN_DEV',
11
- RN_PROD: 'RN_PROD',
8
+ FB_WWW_DEV: 'FB_WWW_DEV',
9
+ FB_WWW_PROD: 'FB_WWW_PROD',
10
+ RN_OSS_DEV: 'RN_OSS_DEV',
11
+ RN_OSS_PROD: 'RN_OSS_PROD',
12
+ RN_FB_DEV: 'RN_FB_DEV',
13
+ RN_FB_PROD: 'RN_FB_PROD',
14
};
15
16
const UMD_DEV = bundleTypes.UMD_DEV;
17
const UMD_PROD = bundleTypes.UMD_PROD;
18
const NODE_DEV = bundleTypes.NODE_DEV;
19
const NODE_PROD = bundleTypes.NODE_PROD;
18
-const FB_DEV = bundleTypes.FB_DEV;
19
-const FB_PROD = bundleTypes.FB_PROD;
20
-const RN_DEV = bundleTypes.RN_DEV;
21
-const RN_PROD = bundleTypes.RN_PROD;
20
+const FB_WWW_DEV = bundleTypes.FB_WWW_DEV;
21
+const FB_WWW_PROD = bundleTypes.FB_WWW_PROD;
22
+const RN_OSS_DEV = bundleTypes.RN_OSS_DEV;
23
+const RN_OSS_PROD = bundleTypes.RN_OSS_PROD;
24
+const RN_FB_DEV = bundleTypes.RN_FB_DEV;
25
+const RN_FB_PROD = bundleTypes.RN_FB_PROD;
26
27
const moduleTypes = {
28
ISOMORPHIC: 'ISOMORPHIC',
44
/******* Isomorphic *******/
45
{
46
label: 'core',
43
- bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_DEV, FB_PROD],
47
+ bundleTypes: [
48
+ UMD_DEV,
49
+ UMD_PROD,
50
+ NODE_DEV,
51
+ NODE_PROD,
52
+ FB_WWW_DEV,
53
+ FB_WWW_PROD,
54
+ ],
55
moduleType: ISOMORPHIC,
56
entry: 'react',
57
global: 'React',
61
/******* React DOM *******/
62
{
63
label: 'dom-client',
53
- bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_DEV, FB_PROD],
64
+ bundleTypes: [
65
+ UMD_DEV,
66
+ UMD_PROD,
67
+ NODE_DEV,
68
+ NODE_PROD,
69
+ FB_WWW_DEV,
70
+ FB_WWW_PROD,
71
+ ],
72
moduleType: RENDERER,
73
entry: 'react-dom',
74
global: 'ReactDOM',
79
{
80
label: 'dom-test-utils',
81
moduleType: RENDERER_UTILS,
64
- bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
82
+ bundleTypes: [FB_WWW_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
83
entry: 'react-dom/test-utils',
84
global: 'ReactTestUtils',
85
externals: ['react', 'react-dom'],
88
/* React DOM internals required for react-native-web (e.g., to shim native events from react-dom) */
89
{
90
label: 'dom-unstable-native-dependencies',
73
- bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_DEV, FB_PROD],
91
+ bundleTypes: [
92
+ UMD_DEV,
93
+ UMD_PROD,
94
+ NODE_DEV,
95
+ NODE_PROD,
96
+ FB_WWW_DEV,
97
+ FB_WWW_PROD,
98
+ ],
99
moduleType: RENDERER_UTILS,
100
entry: 'react-dom/unstable-native-dependencies',
101
global: 'ReactDOMUnstableNativeDependencies',
105
/******* React DOM Server *******/
106
{
107
label: 'dom-server-browser',
83
- bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_DEV, FB_PROD],
108
+ bundleTypes: [
109
+ UMD_DEV,
110
+ UMD_PROD,
111
+ NODE_DEV,
112
+ NODE_PROD,
113
+ FB_WWW_DEV,
114
+ FB_WWW_PROD,
115
+ ],
116
moduleType: RENDERER,
117
entry: 'react-dom/server.browser',
118
global: 'ReactDOMServer',
130
/******* React ART *******/
131
{
132
label: 'art',
101
- bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD, FB_DEV, FB_PROD],
133
+ bundleTypes: [
134
+ UMD_DEV,
135
+ UMD_PROD,
136
+ NODE_DEV,
137
+ NODE_PROD,
138
+ FB_WWW_DEV,
139
+ FB_WWW_PROD,
140
+ ],
141
moduleType: RENDERER,
142
entry: 'react-art',
143
global: 'ReactART',
150
},
151
152
/******* React Native *******/
153
+ {
154
+ label: 'native-fb',
155
+ bundleTypes: [RN_FB_DEV, RN_FB_PROD],
156
+ moduleType: RENDERER,
157
+ entry: 'react-native-renderer',
158
+ global: 'ReactNativeRenderer',
159
+ externals: [
160
+ 'ExceptionsManager',
161
+ 'InitializeCore',
162
+ 'Platform',
163
+ 'RCTEventEmitter',
164
+ 'TextInputState',
165
+ 'UIManager',
166
+ 'deepDiffer',
167
+ 'deepFreezeAndThrowOnMutationInDev',
168
+ 'flattenStyle',
169
+ 'ReactNativeViewConfigRegistry',
170
+ ],
171
+ },
172
+
173
{
174
label: 'native',
116
- bundleTypes: [RN_DEV, RN_PROD],
175
+ bundleTypes: [RN_OSS_DEV, RN_OSS_PROD],
176
moduleType: RENDERER,
177
entry: 'react-native-renderer',
178
global: 'ReactNativeRenderer',
191
},
192
193
/******* React Native Fabric *******/
194
+ {
195
+ label: 'native-fabric-fb',
196
+ bundleTypes: [RN_FB_DEV, RN_FB_PROD],
197
+ moduleType: RENDERER,
198
+ entry: 'react-native-renderer/fabric',
199
+ global: 'ReactFabric',
200
+ externals: [
201
+ 'ExceptionsManager',
202
+ 'InitializeCore',
203
+ 'Platform',
204
+ 'RCTEventEmitter',
205
+ 'TextInputState',
206
+ 'UIManager',
207
+ 'FabricUIManager',
208
+ 'deepDiffer',
209
+ 'deepFreezeAndThrowOnMutationInDev',
210
+ 'flattenStyle',
211
+ 'ReactNativeViewConfigRegistry',
212
+ ],
213
+ },
214
+
215
{
216
label: 'native-fabric',
137
- bundleTypes: [RN_DEV, RN_PROD],
217
+ bundleTypes: [RN_OSS_DEV, RN_OSS_PROD],
218
moduleType: RENDERER,
219
entry: 'react-native-renderer/fabric',
220
global: 'ReactFabric',
236
/******* React Test Renderer *******/
237
{
238
label: 'test',
159
- bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
239
+ bundleTypes: [FB_WWW_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
240
moduleType: RENDERER,
241
entry: 'react-test-renderer',
242
global: 'ReactTestRenderer',
245
246
{
247
label: 'test-shallow',
168
- bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
248
+ bundleTypes: [FB_WWW_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
249
moduleType: RENDERER,
250
entry: 'react-test-renderer/shallow',
251
global: 'ReactShallowRenderer',
318
/******* React Is *******/
319
{
320
label: 'react-is',
241
- bundleTypes: [NODE_DEV, NODE_PROD, FB_DEV, FB_PROD, UMD_DEV, UMD_PROD],
321
+ bundleTypes: [
322
+ NODE_DEV,
323
+ NODE_PROD,
324
+ FB_WWW_DEV,
325
+ FB_WWW_PROD,
326
+ UMD_DEV,
327
+ UMD_PROD,
328
+ ],
329
moduleType: ISOMORPHIC,
330
entry: 'react-is',
331
global: 'ReactIs',