loadManifest() — astro Function Reference
Architecture documentation for the loadManifest() function in node.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 322400e2_6b6a_5d22_5fc3_58892ba232a6["loadManifest()"] 81a03fae_a2bc_f6d1_94ef_f29ffefe8af6["node.ts"] 322400e2_6b6a_5d22_5fc3_58892ba232a6 -->|defined in| 81a03fae_a2bc_f6d1_94ef_f29ffefe8af6 a6b62c57_7d5d_9762_744f_affc515bdf3c["loadApp()"] a6b62c57_7d5d_9762_744f_affc515bdf3c -->|calls| 322400e2_6b6a_5d22_5fc3_58892ba232a6 style 322400e2_6b6a_5d22_5fc3_58892ba232a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/app/node.ts lines 320–325
export async function loadManifest(rootFolder: URL): Promise<SSRManifest> {
const manifestFile = new URL('./manifest.json', rootFolder);
const rawManifest = await fs.promises.readFile(manifestFile, 'utf-8');
const serializedManifest: SerializedSSRManifest = JSON.parse(rawManifest);
return deserializeManifest(serializedManifest);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does loadManifest() do?
loadManifest() is a function in the astro codebase, defined in packages/astro/src/core/app/node.ts.
Where is loadManifest() defined?
loadManifest() is defined in packages/astro/src/core/app/node.ts at line 320.
What calls loadManifest()?
loadManifest() is called by 1 function(s): loadApp.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free