UNPKG

646 BJavaScriptView Raw
1'use strict';
2
3var l, s;
4if (process.env.NODE_ENV === 'production') {
5 l = require('./cjs/react-dom-server-legacy.node.production.min.js');
6 s = require('./cjs/react-dom-server.node.production.min.js');
7} else {
8 l = require('./cjs/react-dom-server-legacy.node.development.js');
9 s = require('./cjs/react-dom-server.node.development.js');
10}
11
12exports.version = l.version;
13exports.renderToString = l.renderToString;
14exports.renderToStaticMarkup = l.renderToStaticMarkup;
15exports.renderToNodeStream = l.renderToNodeStream;
16exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
17exports.renderToPipeableStream = s.renderToPipeableStream;