📚 Documentação inicial do ALETHEIA
- MANUAL-PRODUTO.md: Manual do usuário final - MANUAL-VENDAS.md: Estratégia comercial e vendas - MANUAL-TECNICO.md: Infraestrutura e deploy - README.md: Visão geral do projeto
This commit is contained in:
12
frontend/node_modules/next/dist/esm/server/app-render/render-to-string.js
generated
vendored
Normal file
12
frontend/node_modules/next/dist/esm/server/app-render/render-to-string.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { streamToString } from "../stream-utils/node-web-streams-helper";
|
||||
import { AppRenderSpan } from "../lib/trace/constants";
|
||||
import { getTracer } from "../lib/trace/tracer";
|
||||
export async function renderToString({ ReactDOMServer, element }) {
|
||||
return getTracer().trace(AppRenderSpan.renderToString, async ()=>{
|
||||
const renderStream = await ReactDOMServer.renderToReadableStream(element);
|
||||
await renderStream.allReady;
|
||||
return streamToString(renderStream);
|
||||
});
|
||||
}
|
||||
|
||||
//# sourceMappingURL=render-to-string.js.map
|
||||
Reference in New Issue
Block a user