Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build all bundles required by flight fixture with build-for-flight-dev #30534

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

unstubbable
Copy link
Contributor

The following bundles were missing so that the flight fixture could not be started after running yarn build-for-flight-dev on a fresh clone:

  • react-server-dom-webpack-node-loader.production.js (requires ESM_PROD)
  • react-server-dom-webpack-plugin.js (requires NODE_ES2015)
  • react-dom.react-server.development.js
  • react.react-server.development.js

Since we now need to specify a list of bundle types, we had to fix the shouldSkipBundle function, which apparently was broken in #29906.

The following bundles were missing so that the flight fixture could not
be started after running `yarn build-for-flight-dev` on a fresh clone:

- `react-server-dom-webpack-node-loader.production.js` (requires `ESM_PROD`)
- `react-server-dom-webpack-plugin.js` (requires `NODE_ES2015`)
- `react-dom.react-server.development.js`
- `react.react-server.development.js`

Since we now need to specify a list of bundle types, we had to fix the
`shouldSkipBundle` function, which apparently was broken in facebook#29906.
Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 30, 2024 7:43pm

@react-sizebot
Copy link

Comparing: 3208e73...f5d912b

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 500.39 kB 500.39 kB = 89.78 kB 89.78 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 507.52 kB 507.52 kB = 90.95 kB 90.95 kB
facebook-www/ReactDOM-prod.classic.js = 595.41 kB 595.41 kB = 105.58 kB 105.58 kB
facebook-www/ReactDOM-prod.modern.js = 571.71 kB 571.71 kB = 101.78 kB 101.78 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against c00703b

@eps1lon eps1lon merged commit 47069f0 into facebook:main Jul 31, 2024
185 checks passed
@unstubbable unstubbable deleted the fix-build-for-flight-dev branch July 31, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants