normalizePath() — astro Function Reference
Architecture documentation for the normalizePath() function in viteUtils.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD b7d7daa6_6e47_6026_9d0b_458be9f6257c["normalizePath()"] b7a40933_4ff9_20ad_c87e_be8112bdd644["viteUtils.ts"] b7d7daa6_6e47_6026_9d0b_458be9f6257c -->|defined in| b7a40933_4ff9_20ad_c87e_be8112bdd644 45432fd2_fd54_9960_9588_e913ea1e7d25["resolvePath()"] 45432fd2_fd54_9960_9588_e913ea1e7d25 -->|calls| b7d7daa6_6e47_6026_9d0b_458be9f6257c 713a662b_6176_88d7_7934_63a0ffe35d12["rootRelativePath()"] 713a662b_6176_88d7_7934_63a0ffe35d12 -->|calls| b7d7daa6_6e47_6026_9d0b_458be9f6257c 0ac27604_21c9_4831_55be_be77e76e3f6d["resolveIdToUrl()"] 0ac27604_21c9_4831_55be_be77e76e3f6d -->|calls| b7d7daa6_6e47_6026_9d0b_458be9f6257c style b7d7daa6_6e47_6026_9d0b_458be9f6257c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/viteUtils.ts lines 12–14
export function normalizePath(id: string) {
return path.posix.normalize(isWindows ? slash(id) : id);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does normalizePath() do?
normalizePath() is a function in the astro codebase, defined in packages/astro/src/core/viteUtils.ts.
Where is normalizePath() defined?
normalizePath() is defined in packages/astro/src/core/viteUtils.ts at line 12.
What calls normalizePath()?
normalizePath() is called by 3 function(s): resolveIdToUrl, resolvePath, rootRelativePath.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free