hasDefaultExport() — vue Function Reference
Architecture documentation for the hasDefaultExport() function in rewriteDefault.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 451a37d0_02c5_be91_6f91_8b287688387d["hasDefaultExport()"] 81fc81a6_5762_0cf2_fa0f_6c5be69a5d84["rewriteDefault()"] 81fc81a6_5762_0cf2_fa0f_6c5be69a5d84 -->|calls| 451a37d0_02c5_be91_6f91_8b287688387d style 451a37d0_02c5_be91_6f91_8b287688387d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/rewriteDefault.ts lines 97–99
export function hasDefaultExport(input: string): boolean {
return defaultExportRE.test(input) || namedDefaultExportRE.test(input)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does hasDefaultExport() do?
hasDefaultExport() is a function in the vue codebase.
What calls hasDefaultExport()?
hasDefaultExport() is called by 1 function(s): rewriteDefault.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free