Home / Function/ constructor() — astro Function Reference

constructor() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3dd8931b_ca09_097e_6847_273c79f776dd["constructor()"]
  91572b20_ae8c_d5b0_82aa_5914d1622215["RunnablePipeline"]
  3dd8931b_ca09_097e_6847_273c79f776dd -->|defined in| 91572b20_ae8c_d5b0_82aa_5914d1622215
  style 3dd8931b_ca09_097e_6847_273c79f776dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/vite-plugin-app/pipeline.ts lines 46–57

	private constructor(
		readonly loader: ModuleLoader,
		readonly logger: Logger,
		readonly manifest: SSRManifest,
		readonly settings: AstroSettings,
		readonly getDebugInfo: () => Promise<string>,
		readonly defaultRoutes = createDefaultRoutes(manifest),
	) {
		const resolve = createResolve(loader, manifest.rootDir);
		const streaming = true;
		super(logger, manifest, 'development', [], resolve, streaming);
	}

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/pipeline.ts.
Where is constructor() defined?
constructor() is defined in packages/astro/src/vite-plugin-app/pipeline.ts at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free