26 lines
630 B
JavaScript
26 lines
630 B
JavaScript
/**
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
// TODO: bundle Flow types with the package.
|
|
export type {
|
|
HostConfig,
|
|
Deadline,
|
|
Reconciler,
|
|
} from './src/ReactFiberReconciler';
|
|
|
|
const ReactFiberReconciler = require('./src/ReactFiberReconciler');
|
|
|
|
// TODO: decide on the top-level export form.
|
|
// This is hacky but makes it work with both Rollup and Jest.
|
|
module.exports = ReactFiberReconciler.default
|
|
? ReactFiberReconciler.default
|
|
: ReactFiberReconciler;
|