diff --git a/packages/react-dom/unstable-new-scheduler.fb.js b/packages/react-dom/unstable-new-scheduler.fb.js new file mode 100644 index 0000000000000..ea901748d6949 --- /dev/null +++ b/packages/react-dom/unstable-new-scheduler.fb.js @@ -0,0 +1,14 @@ +/** + * 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'; + +const ReactDOMFB = require('./src/client/ReactDOMFB'); + +// TODO: decide on the top-level export form. +// This is hacky but makes it work with both Rollup and Jest. +module.exports = ReactDOMFB.default || ReactDOMFB;