Match react-dom/static test entrypoints and published entrypoints (#34599)

This commit is contained in:
Sebastian "Sebbie" Silbermann 2025-09-28 13:26:31 +02:00 committed by GitHub
parent 2622487a74
commit e08f53b182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,19 +11,6 @@
import ReactVersion from 'shared/ReactVersion';
export {ReactVersion as version};
export function renderToString() {
return require('./src/server/ReactDOMLegacyServerNode').renderToString.apply(
this,
arguments,
);
}
export function renderToStaticMarkup() {
return require('./src/server/ReactDOMLegacyServerNode').renderToStaticMarkup.apply(
this,
arguments,
);
}
export function prerenderToNodeStream() {
return require('./src/server/react-dom-server.node').prerenderToNodeStream.apply(
this,