Home / Function/ getClientOutputDirectory() — astro Function Reference

getClientOutputDirectory() — astro Function Reference

Architecture documentation for the getClientOutputDirectory() function in utils.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  fbda552c_c64f_ab23_b3f0_e0e9da8d5662["getClientOutputDirectory()"]
  03aa5eba_ea2a_299c_af28_0d2e00408727["utils.ts"]
  fbda552c_c64f_ab23_b3f0_e0e9da8d5662 -->|defined in| 03aa5eba_ea2a_299c_af28_0d2e00408727
  style fbda552c_c64f_ab23_b3f0_e0e9da8d5662 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/prerender/utils.ts lines 21–23

export function getClientOutputDirectory(settings: AstroSettings): URL {
	return settings.buildOutput === 'server' ? settings.config.build.client : settings.config.outDir;
}

Domain

Subdomains

Frequently Asked Questions

What does getClientOutputDirectory() do?
getClientOutputDirectory() is a function in the astro codebase, defined in packages/astro/src/prerender/utils.ts.
Where is getClientOutputDirectory() defined?
getClientOutputDirectory() is defined in packages/astro/src/prerender/utils.ts at line 21.

Analyze Your Own Codebase

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

Try Supermodel Free