Home / Function/ addBuildDependency() — tailwindcss Function Reference

addBuildDependency() — tailwindcss Function Reference

Architecture documentation for the addBuildDependency() function in index.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  fce37212_288e_5a92_3c6a_060de2d4484e["addBuildDependency()"]
  8afb4b37_0b4b_c3fe_de00_b595098c0b22["generate()"]
  8afb4b37_0b4b_c3fe_de00_b595098c0b22 -->|calls| fce37212_288e_5a92_3c6a_060de2d4484e
  style fce37212_288e_5a92_3c6a_060de2d4484e 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

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