main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
646 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | var l, s;
|
---|
| 4 | if (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 |
|
---|
| 12 | exports.version = l.version;
|
---|
| 13 | exports.renderToString = l.renderToString;
|
---|
| 14 | exports.renderToStaticMarkup = l.renderToStaticMarkup;
|
---|
| 15 | exports.renderToNodeStream = l.renderToNodeStream;
|
---|
| 16 | exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
|
---|
| 17 | exports.renderToPipeableStream = s.renderToPipeableStream;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.