compileAst() — tailwindcss Function Reference
Architecture documentation for the compileAst() function in compile.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 1efe0d4f_1301_f69f_5800_360f3b78ddf5["compileAst()"] 86cbca6b_bfa0_804c_ee2e_2cc7a7aef7fe["compile.ts"] 1efe0d4f_1301_f69f_5800_360f3b78ddf5 -->|defined in| 86cbca6b_bfa0_804c_ee2e_2cc7a7aef7fe 4ceb6126_e004_1a29_2b41_a2a30ed1e0a3["createCompileOptions()"] 1efe0d4f_1301_f69f_5800_360f3b78ddf5 -->|calls| 4ceb6126_e004_1a29_2b41_a2a30ed1e0a3 7461f1cc_bdcd_4e05_0645_fdba36a9565b["ensureSourceDetectionRootExists()"] 1efe0d4f_1301_f69f_5800_360f3b78ddf5 -->|calls| 7461f1cc_bdcd_4e05_0645_fdba36a9565b style 1efe0d4f_1301_f69f_5800_360f3b78ddf5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-node/src/compile.ts lines 94–98
export async function compileAst(ast: AstNode[], options: CompileOptions) {
let compiler = await _compileAst(ast, createCompileOptions(options))
await ensureSourceDetectionRootExists(compiler)
return compiler
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does compileAst() do?
compileAst() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/compile.ts.
Where is compileAst() defined?
compileAst() is defined in packages/@tailwindcss-node/src/compile.ts at line 94.
What does compileAst() call?
compileAst() calls 2 function(s): createCompileOptions, ensureSourceDetectionRootExists.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free