compileAst() — tailwindcss Function Reference
Architecture documentation for the compileAst() function in compile.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 89f6305c_3dac_2769_1013_f51b1fdda2c5["compileAst()"] 69d3ce9e_56db_8f40_5261_64f91b0dee31["compile.ts"] 89f6305c_3dac_2769_1013_f51b1fdda2c5 -->|defined in| 69d3ce9e_56db_8f40_5261_64f91b0dee31 39d7b158_3ac5_7dc8_f294_3849e86a7bc5["createCompileOptions()"] 89f6305c_3dac_2769_1013_f51b1fdda2c5 -->|calls| 39d7b158_3ac5_7dc8_f294_3849e86a7bc5 22a76912_be9a_9a1c_8ed9_7b747fc5364e["ensureSourceDetectionRootExists()"] 89f6305c_3dac_2769_1013_f51b1fdda2c5 -->|calls| 22a76912_be9a_9a1c_8ed9_7b747fc5364e style 89f6305c_3dac_2769_1013_f51b1fdda2c5 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