GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Don't build some packages for WWW (#18078) · react/react@a12dd52

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts/rollup
    • bundles.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/rollup/bundles.js‎

Copy file name to clipboardExpand all lines: scripts/rollup/bundles.js
+5-19Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,7 @@ const bundles = [
131131

132132
/* React DOM internals required for react-native-web (e.g., to shim native events from react-dom) */
133133
{
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],
142135
moduleType: RENDERER_UTILS,
143136
entry: 'react-dom/unstable-native-dependencies',
144137
global: 'ReactDOMUnstableNativeDependencies',
@@ -188,7 +181,7 @@ const bundles = [
188181
externals: ['react', 'react-dom/server'],
189182
},
190183
{
191-
bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
184+
bundleTypes: [NODE_DEV, NODE_PROD],
192185
moduleType: RENDERER,
193186
entry: 'react-dom/unstable-fizz.node',
194187
global: 'ReactDOMFizzServer',
@@ -204,7 +197,7 @@ const bundles = [
204197
externals: ['react', 'react-dom/server'],
205198
},
206199
{
207-
bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
200+
bundleTypes: [NODE_DEV, NODE_PROD],
208201
moduleType: RENDERER,
209202
entry: 'react-flight-dom-webpack/server.node',
210203
global: 'ReactFlightDOMServer',
@@ -213,14 +206,7 @@ const bundles = [
213206

214207
/******* React DOM Flight Client Webpack *******/
215208
{
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],
224210
moduleType: RENDERER,
225211
entry: 'react-flight-dom-webpack',
226212
global: 'ReactFlightDOMClient',
@@ -535,7 +521,7 @@ const bundles = [
535521

536522
/******* Jest React (experimental) *******/
537523
{
538-
bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV, FB_WWW_PROD],
524+
bundleTypes: [NODE_DEV, NODE_PROD],
539525
moduleType: ISOMORPHIC,
540526
entry: 'jest-react',
541527
global: 'JestReact',

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.