getVersion() — tailwindcss Function Reference
Architecture documentation for the getVersion() function in renderer.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 476e7c49_4a23_5328_7d6c_abcb5b75a2eb["getVersion()"] 3b23cd0c_5ad0_3277_32b3_47ca9425d608["header()"] 3b23cd0c_5ad0_3277_32b3_47ca9425d608 -->|calls| 476e7c49_4a23_5328_7d6c_abcb5b75a2eb 95c9a96b_6583_2a77_b845_de347215dc61["resolve()"] 476e7c49_4a23_5328_7d6c_abcb5b75a2eb -->|calls| 95c9a96b_6583_2a77_b845_de347215dc61 style 476e7c49_4a23_5328_7d6c_abcb5b75a2eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/utils/renderer.ts lines 134–140
function getVersion(): string {
if (typeof globalThis.__tw_version === 'string') {
return globalThis.__tw_version
}
let { version } = JSON.parse(fs.readFileSync(resolve('tailwindcss/package.json'), 'utf-8'))
return version
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getVersion() do?
getVersion() is a function in the tailwindcss codebase.
What does getVersion() call?
getVersion() calls 1 function(s): resolve.
What calls getVersion()?
getVersion() is called by 1 function(s): header.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free