normalizeFile() — vue Function Reference
Architecture documentation for the normalizeFile() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD d6a44bc7_6475_aed8_c9a0_e12eb3350db5["normalizeFile()"] d6067825_113a_583c_13c4_07c0380b4928["getPreloadType()"] d6a44bc7_6475_aed8_c9a0_e12eb3350db5 -->|calls| d6067825_113a_583c_13c4_07c0380b4928 style d6a44bc7_6475_aed8_c9a0_e12eb3350db5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/template-renderer/index.ts lines 282–291
function normalizeFile(file: string): Resource {
const withoutQuery = file.replace(/\?.*/, '')
const extension = path.extname(withoutQuery).slice(1)
return {
file,
extension,
fileWithoutQuery: withoutQuery,
asType: getPreloadType(extension)
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does normalizeFile() do?
normalizeFile() is a function in the vue codebase.
What does normalizeFile() call?
normalizeFile() calls 1 function(s): getPreloadType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free