diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-18 13:29:54 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-18 13:29:54 +0300 |
commit | fd70f95224374d23157ee7c0357733102cd0df53 (patch) | |
tree | e490c12e021cedaf211b292d5d623baa32a673fc /node_modules/react-dom/server.node.js |
Diffstat (limited to 'node_modules/react-dom/server.node.js')
-rw-r--r-- | node_modules/react-dom/server.node.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/react-dom/server.node.js b/node_modules/react-dom/server.node.js new file mode 100644 index 0000000..2eb97e8 --- /dev/null +++ b/node_modules/react-dom/server.node.js @@ -0,0 +1,17 @@ +'use strict'; + +var l, s; +if (process.env.NODE_ENV === 'production') { + l = require('./cjs/react-dom-server-legacy.node.production.min.js'); + s = require('./cjs/react-dom-server.node.production.min.js'); +} else { + l = require('./cjs/react-dom-server-legacy.node.development.js'); + s = require('./cjs/react-dom-server.node.development.js'); +} + +exports.version = l.version; +exports.renderToString = l.renderToString; +exports.renderToStaticMarkup = l.renderToStaticMarkup; +exports.renderToNodeStream = l.renderToNodeStream; +exports.renderToStaticNodeStream = l.renderToStaticNodeStream; +exports.renderToPipeableStream = s.renderToPipeableStream; |