server.browser.js (658B)
1'use strict'; 2 3var l, s; 4if (process.env.NODE_ENV === 'production') { 5 l = require('./cjs/react-dom-server-legacy.browser.production.min.js'); 6 s = require('./cjs/react-dom-server.browser.production.min.js'); 7} else { 8 l = require('./cjs/react-dom-server-legacy.browser.development.js'); 9 s = require('./cjs/react-dom-server.browser.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.renderToReadableStream = s.renderToReadableStream;