getAttrKey() — vite Function Reference
Architecture documentation for the getAttrKey() function in assetSource.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD d1f8c6d0_0852_b3cc_f063_30685d096497["getAttrKey()"] a2a61cd6_2d46_2c12_335a_793c63cb8a19["assetSource.ts"] d1f8c6d0_0852_b3cc_f063_30685d096497 -->|defined in| a2a61cd6_2d46_2c12_335a_793c63cb8a19 583413b4_122f_c77c_6469_fed71988cf60["getNodeAssetAttributes()"] 583413b4_122f_c77c_6469_fed71988cf60 -->|calls| d1f8c6d0_0852_b3cc_f063_30685d096497 style d1f8c6d0_0852_b3cc_f063_30685d096497 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/assetSource.ts lines 149–151
function getAttrKey(attr: Token.Attribute): string {
return attr.prefix === undefined ? attr.name : `${attr.prefix}:${attr.name}`
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getAttrKey() do?
getAttrKey() is a function in the vite codebase, defined in packages/vite/src/node/assetSource.ts.
Where is getAttrKey() defined?
getAttrKey() is defined in packages/vite/src/node/assetSource.ts at line 149.
What calls getAttrKey()?
getAttrKey() is called by 1 function(s): getNodeAssetAttributes.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free