dillon1000/react

Commit

[Flight] Build node-webstreams version of bundled webpack server (#33456)

Follow up to #33442. This is the bundled version.

To keep type check passes from exploding and the maintainance of the
annoying `paths: []` list small, this doesn't add this to flow type
checks. We might miss some config but every combination should already
be covered by other one passes.

I also don't add any jest tests because to test these double export
entry points we need conditional importing to cover builds and
non-builds which turns out to be difficult for the Flight builds so
these aren't covered by any basic build tests.

This approach is what I'm going for, for the other bundlers too.
Browse files
Changed paths8 files
First-parent comparison
A packages/react-client/src/forks/ReactFlightClientConfig.dom-node-webstreams-webpack.js AddedM packages/react-server-dom-webpack/npm/client.node.js ModifiedM packages/react-server-dom-webpack/npm/server.node.js ModifiedA packages/react-server-dom-webpack/src/client/react-flight-dom-client.node-webstreams.js AddedA packages/react-server-dom-webpack/src/server/react-flight-dom-server.node-webstreams.js AddedM scripts/jest/setupTests.js ModifiedM scripts/rollup/bundles.js ModifiedM scripts/shared/inlinedHostConfigs.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…