compiler() — tailwindcss Function Reference
Architecture documentation for the compiler() function in stylesheet.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 669adbf7_1255_4fed_e741_941fd5e91726["compiler()"] eb8ababf_fa35_08e1_76f8_c2b2cea868b8["run()"] eb8ababf_fa35_08e1_76f8_c2b2cea868b8 -->|calls| 669adbf7_1255_4fed_e741_941fd5e91726 3b7b5721_2ad8_b95c_e5b3_704c1dbf9939["postCssAstToCssAst()"] 669adbf7_1255_4fed_e741_941fd5e91726 -->|calls| 3b7b5721_2ad8_b95c_e5b3_704c1dbf9939 style 669adbf7_1255_4fed_e741_941fd5e91726 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-upgrade/src/stylesheet.ts lines 268–276
async compiler(): Promise<Awaited<ReturnType<typeof compileAst>> | null> {
if (!this.isTailwindRoot) return null
if (!this.file) return null
return compileAst(postCssAstToCssAst(this.root), {
base: path.dirname(this.file),
onDependency() {},
})
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does compiler() do?
compiler() is a function in the tailwindcss codebase.
What does compiler() call?
compiler() calls 1 function(s): postCssAstToCssAst.
What calls compiler()?
compiler() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free