addBuildDependency() — tailwindcss Function Reference
Architecture documentation for the addBuildDependency() function in index.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 4f2c9d58_bb1e_25c9_7b71_2cf6a0b74e48["addBuildDependency()"] bbdbdab4_b968_3686_d725_e087e212da83["generate()"] bbdbdab4_b968_3686_d725_e087e212da83 -->|calls| 4f2c9d58_bb1e_25c9_7b71_2cf6a0b74e48 style 4f2c9d58_bb1e_25c9_7b71_2cf6a0b74e48 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-vite/src/index.ts lines 432–438
private async addBuildDependency(path: string) {
let mtime: number | null = null
try {
mtime = (await fs.stat(path)).mtimeMs
} catch {}
this.buildDependencies.set(path, mtime)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does addBuildDependency() do?
addBuildDependency() is a function in the tailwindcss codebase.
What calls addBuildDependency()?
addBuildDependency() is called by 1 function(s): generate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free