react/packages/react-dom/npm/server.node.js
Sebastian Markbåge 9343f87203
Use the server src files as entry points for the builds/tests (#21683)
* Use the server src files as entry points for the builds/tests

We need one top level entry point to target two builds so we can't have
the top level one be the entry point for the builds.

* Same thing but with the modern entry point
2021-06-14 16:23:19 -07:00

8 lines
236 B
JavaScript

'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-dom-server-legacy.node.production.min.js');
} else {
module.exports = require('./cjs/react-dom-server-legacy.node.development.js');
}