addBuildDependency() — tailwindcss Function Reference
Architecture documentation for the addBuildDependency() function in index.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 5162df04_9826_6007_035c_c26fd3cadeca["addBuildDependency()"] 26893bc3_0033_d6d7_a323_c3fa650b4ad4["Root"] 5162df04_9826_6007_035c_c26fd3cadeca -->|defined in| 26893bc3_0033_d6d7_a323_c3fa650b4ad4 68ac0b75_b7fb_24c9_5ba7_a0d956bcaba5["generate()"] 68ac0b75_b7fb_24c9_5ba7_a0d956bcaba5 -->|calls| 5162df04_9826_6007_035c_c26fd3cadeca style 5162df04_9826_6007_035c_c26fd3cadeca 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
Defined In
Called By
Source
Frequently Asked Questions
What does addBuildDependency() do?
addBuildDependency() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-vite/src/index.ts.
Where is addBuildDependency() defined?
addBuildDependency() is defined in packages/@tailwindcss-vite/src/index.ts at line 432.
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