[meta-only] Move ReactServerStreamConfigFB to react-server from react-server-dom-fb (#27544)

Code organization PR.

It looks like the `ReactServerStreamConfigFB` is only used in the
`relay-server` package. This PR moves it to `react-server` from
`react-server-dom-fb` (similar to how we have config for bun, for
example). This avoids cross-package imports from `react-server` to
`react-server-dom-fb.`
This commit is contained in:
Andrey Lunyov
2023-10-19 12:35:41 -04:00
committed by GitHub
parent 9617d39eca
commit b67ddaa434
2 changed files with 2 additions and 2 deletions

View File

@@ -84,4 +84,4 @@ export function closeWithError(destination: Destination, error: mixed): void {
destination.error = error;
}
export {createFastHashJS as createFastHash} from 'react-server/src/createFastHashJS';
export {createFastHashJS as createFastHash} from './createFastHashJS';

View File

@@ -7,4 +7,4 @@
* @flow
*/
export * from '../../../react-server-dom-fb/src/ReactServerStreamConfigFB';
export * from '../ReactServerStreamConfigFB';