Don't build some packages for WWW (#18078)
Dan Abramov committed
Feb 19, 2020 at 17:59 UTC
a12dd52a4a5f19d990694810db86cc30e98308ae
1 file changed
+5
-19
scripts/rollup/bundles.js
+5
-19
@@ -131,14 +131,7 @@ const bundles = [
131
132
/* React DOM internals required for react-native-web (e.g., to shim native events from react-dom) */
133
{
134
- bundleTypes: [
135
- UMD_DEV,
136
- UMD_PROD,
137
- NODE_DEV,
138
- NODE_PROD,
139
- FB_WWW_DEV,
140
- FB_WWW_PROD,
141
- ],
134
+ bundleTypes: [UMD_DEV, UMD_PROD, NODE_DEV, NODE_PROD],
135
moduleType: RENDERER_UTILS,
136
entry: 'react-dom/unstable-native-dependencies',
137
global: 'ReactDOMUnstableNativeDependencies',
@@ -188,7 +181,7 @@ const bundles = [
181
externals: ['react', 'react-dom/server'],
182
},
183
{
191
- bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
184
+ bundleTypes: [NODE_DEV, NODE_PROD],
185
moduleType: RENDERER,
186
entry: 'react-dom/unstable-fizz.node',
187
global: 'ReactDOMFizzServer',
@@ -204,7 +197,7 @@ const bundles = [
197
externals: ['react', 'react-dom/server'],
198
},
199
{
207
- bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
200
+ bundleTypes: [NODE_DEV, NODE_PROD],
201
moduleType: RENDERER,
202
entry: 'react-flight-dom-webpack/server.node',
203
global: 'ReactFlightDOMServer',
@@ -213,14 +206,7 @@ const bundles = [
206
207
/******* React DOM Flight Client Webpack *******/
208
{
216
- bundleTypes: [
217
- NODE_DEV,
218
- NODE_PROD,
219
- UMD_DEV,
220
- UMD_PROD,
221
- FB_WWW_DEV,
222
- FB_WWW_PROD,
223
- ],
209
+ bundleTypes: [NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
210
moduleType: RENDERER,
211
entry: 'react-flight-dom-webpack',
212
global: 'ReactFlightDOMClient',
@@ -535,7 +521,7 @@ const bundles = [
521
522
/******* Jest React (experimental) *******/
523
{
538
- bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
524
+ bundleTypes: [NODE_DEV, NODE_PROD],
525
moduleType: ISOMORPHIC,
526
entry: 'jest-react',
527
global: 'JestReact',