react/packages/react-flight-dom-webpack/server.node.js

17 lines
480 B
JavaScript
Raw Normal View History

/**
* 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.
*
* @flow
*/
'use strict';
const ReactFlightDOMServerNode = require('./src/ReactFlightDOMServerNode');
// TODO: decide on the top-level export form.
// This is hacky but makes it work with both Rollup and Jest
module.exports = ReactFlightDOMServerNode.default || ReactFlightDOMServerNode;