mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
This commit updates the file locations and bulid configurations for flight in preparation for new static entrypoints. This follows a structure similar to Fizz which has a unified build but exports methods from different top level entrypoints. This PR doesn't actually add the new top level entrypoints however, that will arrive in a later update.
18 lines
672 B
JavaScript
18 lines
672 B
JavaScript
'use strict';
|
|
|
|
var s;
|
|
if (process.env.NODE_ENV === 'production') {
|
|
s = require('./cjs/react-server-dom-turbopack-server.browser.production.js');
|
|
} else {
|
|
s = require('./cjs/react-server-dom-turbopack-server.browser.development.js');
|
|
}
|
|
|
|
exports.renderToReadableStream = s.renderToReadableStream;
|
|
exports.decodeReply = s.decodeReply;
|
|
exports.decodeAction = s.decodeAction;
|
|
exports.decodeFormState = s.decodeFormState;
|
|
exports.registerServerReference = s.registerServerReference;
|
|
exports.registerClientReference = s.registerClientReference;
|
|
exports.createClientModuleProxy = s.createClientModuleProxy;
|
|
exports.createTemporaryReferenceSet = s.createTemporaryReferenceSet;
|