GeezerVison is showing github.com — Don't build some packages for WWW (#18078) · react/react@a12dd52
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: scripts/rollup/bundles.js +5-19Lines changed: 5 additions & 19 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -131,14 +131,7 @@ const bundles = [ | 131 | 131 |
| 132 | 132 | /* React DOM internals required for react-native-web (e.g., to shim native events from react-dom) */ | 133 | 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], | 142 | 135 | moduleType: RENDERER_UTILS, | 143 | 136 | entry: 'react-dom/unstable-native-dependencies', | 144 | 137 | global: 'ReactDOMUnstableNativeDependencies', | @@ -188,7 +181,7 @@ const bundles = [ | 188 | 181 | externals: ['react', 'react-dom/server'], | 189 | 182 | }, | 190 | 183 | { | 191 | | - bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD], | | 184 | + bundleTypes: [NODE_DEV, NODE_PROD], | 192 | 185 | moduleType: RENDERER, | 193 | 186 | entry: 'react-dom/unstable-fizz.node', | 194 | 187 | global: 'ReactDOMFizzServer', | @@ -204,7 +197,7 @@ const bundles = [ | 204 | 197 | externals: ['react', 'react-dom/server'], | 205 | 198 | }, | 206 | 199 | { | 207 | | - bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD], | | 200 | + bundleTypes: [NODE_DEV, NODE_PROD], | 208 | 201 | moduleType: RENDERER, | 209 | 202 | entry: 'react-flight-dom-webpack/server.node', | 210 | 203 | global: 'ReactFlightDOMServer', | @@ -213,14 +206,7 @@ const bundles = [ | 213 | 206 |
| 214 | 207 | /******* React DOM Flight Client Webpack *******/ | 215 | 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], | 224 | 210 | moduleType: RENDERER, | 225 | 211 | entry: 'react-flight-dom-webpack', | 226 | 212 | global: 'ReactFlightDOMClient', | @@ -535,7 +521,7 @@ const bundles = [ | 535 | 521 |
| 536 | 522 | /******* Jest React (experimental) *******/ | 537 | 523 | { | 538 | | - bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD], | | 524 | + bundleTypes: [NODE_DEV, NODE_PROD], | 539 | 525 | moduleType: ISOMORPHIC, | 540 | 526 | entry: 'jest-react', | 541 | 527 | global: 'JestReact', | |
|