mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Reverts #33457, #33456 and #33442. There are too many issues with wrappers, lazy init, stateful modules, duplicate instantiation of async_hooks and duplication of code. Instead, we'll just do a wrapper polyfill that uses Node Streams internally. I kept the client indirection files that I added for consistency with the server though.
8 lines
246 B
JavaScript
8 lines
246 B
JavaScript
'use strict';
|
|
|
|
if (process.env.NODE_ENV === 'production') {
|
|
module.exports = require('./cjs/react-server-dom-parcel-client.node.production.js');
|
|
} else {
|
|
module.exports = require('./cjs/react-server-dom-parcel-client.node.development.js');
|
|
}
|