Home / Function/ constructor() — astro Function Reference

constructor() — astro Function Reference

Architecture documentation for the constructor() function in app.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  4c18863f_f0f6_864c_a329_c0c8b5d7795d["constructor()"]
  df0b0a04_8315_c9cf_d541_013f247434eb["AstroServerApp"]
  4c18863f_f0f6_864c_a329_c0c8b5d7795d -->|defined in| df0b0a04_8315_c9cf_d541_013f247434eb
  style 4c18863f_f0f6_864c_a329_c0c8b5d7795d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/vite-plugin-app/app.ts lines 34–48

	constructor(
		manifest: SSRManifest,
		streaming = true,
		logger: Logger,
		manifestData: RoutesList,
		loader: ModuleLoader,
		settings: AstroSettings,
		getDebugInfo: () => Promise<string>,
	) {
		super(manifest, streaming, settings, logger, loader, manifestData, getDebugInfo);
		this.settings = settings;
		this.logger = logger;
		this.loader = loader;
		this.manifestData = manifestData;
	}

Domain

Subdomains

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the astro codebase, defined in packages/astro/src/vite-plugin-app/app.ts.
Where is constructor() defined?
constructor() is defined in packages/astro/src/vite-plugin-app/app.ts at line 34.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free