mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
* Add Flight Build and Unify HostFormat Config between Flight and Fizz * Add basic resolution of models * Add basic Flight fixture Demonstrates the streaming protocol. * Rename to flight-server to distinguish from the client parts * Add Flight Client package and entry point * Fix fixture
68 lines
1.5 KiB
JavaScript
68 lines
1.5 KiB
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
'use strict';
|
|
|
|
module.exports = [
|
|
{
|
|
shortName: 'dom',
|
|
entryPoints: [
|
|
'react-dom',
|
|
'react-dom/unstable-fizz.node',
|
|
'react-dom/unstable-flight-server.node',
|
|
'react-dom/unstable-flight-client',
|
|
],
|
|
isFlowTyped: true,
|
|
isServerSupported: true,
|
|
},
|
|
{
|
|
shortName: 'dom-browser',
|
|
entryPoints: [
|
|
'react-dom/unstable-fizz.browser',
|
|
'react-dom/unstable-flight-server.browser',
|
|
'react-dom/unstable-flight-client',
|
|
],
|
|
isFlowTyped: true,
|
|
isServerSupported: true,
|
|
},
|
|
{
|
|
shortName: 'art',
|
|
entryPoints: ['react-art'],
|
|
isFlowTyped: false, // TODO: type it.
|
|
isServerSupported: false,
|
|
},
|
|
{
|
|
shortName: 'native',
|
|
entryPoints: ['react-native-renderer'],
|
|
isFlowTyped: true,
|
|
isServerSupported: false,
|
|
},
|
|
{
|
|
shortName: 'fabric',
|
|
entryPoints: ['react-native-renderer/fabric'],
|
|
isFlowTyped: true,
|
|
isServerSupported: false,
|
|
},
|
|
{
|
|
shortName: 'test',
|
|
entryPoints: ['react-test-renderer'],
|
|
isFlowTyped: true,
|
|
isServerSupported: false,
|
|
},
|
|
{
|
|
shortName: 'custom',
|
|
entryPoints: [
|
|
'react-reconciler',
|
|
'react-reconciler/persistent',
|
|
'react-flight',
|
|
'react-server',
|
|
'react-server/flight',
|
|
],
|
|
isFlowTyped: true,
|
|
isServerSupported: true,
|
|
},
|
|
];
|