Home / Function/ create() — astro Function Reference

create() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  78019260_92f4_ec7e_da48_6aade289282f["create()"]
  7feea19b_1eb1_3680_d050_0ea7bb95b6d3["ContainerPipeline"]
  78019260_92f4_ec7e_da48_6aade289282f -->|defined in| 7feea19b_1eb1_3680_d050_0ea7bb95b6d3
  style 78019260_92f4_ec7e_da48_6aade289282f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/container/pipeline.ts lines 26–34

	static create({
		logger,
		manifest,
		renderers,
		resolve,
		streaming,
	}: Pick<ContainerPipeline, 'logger' | 'manifest' | 'renderers' | 'resolve' | 'streaming'>) {
		return new ContainerPipeline(logger, manifest, 'development', renderers, resolve, streaming);
	}

Domain

Subdomains

Frequently Asked Questions

What does create() do?
create() is a function in the astro codebase, defined in packages/astro/src/container/pipeline.ts.
Where is create() defined?
create() is defined in packages/astro/src/container/pipeline.ts at line 26.

Analyze Your Own Codebase

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

Try Supermodel Free