mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
* 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
8 lines
236 B
JavaScript
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');
|
|
}
|