mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
This commit updates the file locations and bulid configurations for flight in preparation for new static entrypoints. This follows a structure similar to Fizz which has a unified build but exports methods from different top level entrypoints. This PR doesn't actually add the new top level entrypoints however, that will arrive in a later update.
26 lines
851 B
JavaScript
26 lines
851 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
import type {Request} from 'react-server/src/ReactFlightServer';
|
|
import type {ReactComponentInfo} from 'shared/ReactTypes';
|
|
|
|
export * from 'react-server-dom-esm/src/server/ReactFlightServerConfigESMBundler';
|
|
export * from 'react-dom-bindings/src/server/ReactFlightServerConfigDOM';
|
|
|
|
export const supportsRequestStorage = false;
|
|
export const requestStorage: AsyncLocalStorage<Request | void> = (null: any);
|
|
|
|
export const supportsComponentStorage = false;
|
|
export const componentStorage: AsyncLocalStorage<ReactComponentInfo | void> =
|
|
(null: any);
|
|
|
|
export * from '../ReactFlightServerConfigDebugNoop';
|
|
|
|
export * from '../ReactFlightStackConfigV8';
|