mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
47848ad15f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44362 Packages that are built and directly run in the monorepo no longer need to worry about conditionally registering themselves to transpile Flow -> JS at runtime. Our build step strips this file now. Changelog: [Internal] changes in published packages no longer require conditional calls to Babel register. Reviewed By: huntie Differential Revision: D56839521 fbshipit-source-id: 6bec706c639f1ab4138e0b790be8a07654333046
19 lines
411 B
JavaScript
19 lines
411 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 strict-local
|
|
* @format
|
|
* @oncall react_native
|
|
*/
|
|
|
|
/*::
|
|
export type * from './index.flow';
|
|
*/
|
|
|
|
require('../../../scripts/build/babel-register').registerForMonorepo();
|
|
|
|
module.exports = require('./index.flow');
|