normalizeCodegenDir() — astro Function Reference
Architecture documentation for the normalizeCodegenDir() function in hooks.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2873f6b6_8222_203b_2706_97a1fe360c5a["normalizeCodegenDir()"] 19f4084c_157f_a15d_f001_5d8088b75dee["hooks.ts"] 2873f6b6_8222_203b_2706_97a1fe360c5a -->|defined in| 19f4084c_157f_a15d_f001_5d8088b75dee 1443f867_b3af_7eca_2ca8_c993c323ecbd["normalizeInjectedTypeFilename()"] 1443f867_b3af_7eca_2ca8_c993c323ecbd -->|calls| 2873f6b6_8222_203b_2706_97a1fe360c5a be77f595_7989_6e12_ba52_33627e2d9d4d["runHookConfigSetup()"] be77f595_7989_6e12_ba52_33627e2d9d4d -->|calls| 2873f6b6_8222_203b_2706_97a1fe360c5a style 2873f6b6_8222_203b_2706_97a1fe360c5a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/integrations/hooks.ts lines 154–156
export function normalizeCodegenDir(integrationName: string): string {
return `./integrations/${integrationName.replace(SAFE_CHARS_RE, '_')}/`;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does normalizeCodegenDir() do?
normalizeCodegenDir() is a function in the astro codebase, defined in packages/astro/src/integrations/hooks.ts.
Where is normalizeCodegenDir() defined?
normalizeCodegenDir() is defined in packages/astro/src/integrations/hooks.ts at line 154.
What calls normalizeCodegenDir()?
normalizeCodegenDir() is called by 2 function(s): normalizeInjectedTypeFilename, runHookConfigSetup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free