Home / Function/ getModuleDependencies() — tailwindcss Function Reference

getModuleDependencies() — tailwindcss Function Reference

Architecture documentation for the getModuleDependencies() function in get-module-dependencies.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  e35c65f4_7d0a_1c14_2967_e3c608b092bd["getModuleDependencies()"]
  b620f573_84b9_a33a_291f_6bb912350445["loadModule()"]
  b620f573_84b9_a33a_291f_6bb912350445 -->|calls| e35c65f4_7d0a_1c14_2967_e3c608b092bd
  2cf35aaf_0103_6bdb_ca72_680b1b6f6271["traceDependencies()"]
  e35c65f4_7d0a_1c14_2967_e3c608b092bd -->|calls| 2cf35aaf_0103_6bdb_ca72_680b1b6f6271
  style e35c65f4_7d0a_1c14_2967_e3c608b092bd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-node/src/get-module-dependencies.ts lines 95–106

export async function getModuleDependencies(absoluteFilePath: string) {
  let seen = new Set<string>()

  await traceDependencies(
    seen,
    absoluteFilePath,
    path.dirname(absoluteFilePath),
    path.extname(absoluteFilePath),
  )

  return Array.from(seen)
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getModuleDependencies() do?
getModuleDependencies() is a function in the tailwindcss codebase.
What does getModuleDependencies() call?
getModuleDependencies() calls 1 function(s): traceDependencies.
What calls getModuleDependencies()?
getModuleDependencies() is called by 1 function(s): loadModule.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free