createExports() — astro Function Reference
Architecture documentation for the createExports() function in server.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 56283017_2661_6036_2c9b_f5825b69b42d["createExports()"] 3bf6a903_ca52_b5ab_04e4_e3503f1a42dc["server.ts"] 56283017_2661_6036_2c9b_f5825b69b42d -->|defined in| 3bf6a903_ca52_b5ab_04e4_e3503f1a42dc style 56283017_2661_6036_2c9b_f5825b69b42d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
benchmark/packages/timer/src/server.ts lines 5–16
export function createExports(manifest: SSRManifest) {
const app = new NodeApp(manifest);
return {
handler: async (req: IncomingMessage, res: ServerResponse) => {
const start = performance.now();
await app.render(req);
const end = performance.now();
res.write(end - start + '');
res.end();
},
};
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does createExports() do?
createExports() is a function in the astro codebase, defined in benchmark/packages/timer/src/server.ts.
Where is createExports() defined?
createExports() is defined in benchmark/packages/timer/src/server.ts at line 5.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free