Home / Function/ compileAst() — tailwindcss Function Reference

compileAst() — tailwindcss Function Reference

Architecture documentation for the compileAst() function in compile.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  548ee7dc_209a_7b48_3113_0f485b3a6152["compileAst()"]
  2cba246e_336d_6f47_8fa4_83f35f72c847["createCompileOptions()"]
  548ee7dc_209a_7b48_3113_0f485b3a6152 -->|calls| 2cba246e_336d_6f47_8fa4_83f35f72c847
  046d4182_1181_6bdc_f5a1_e865fc7afdb6["ensureSourceDetectionRootExists()"]
  548ee7dc_209a_7b48_3113_0f485b3a6152 -->|calls| 046d4182_1181_6bdc_f5a1_e865fc7afdb6
  style 548ee7dc_209a_7b48_3113_0f485b3a6152 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
}

Subdomains

Frequently Asked Questions

What does compileAst() do?
compileAst() is a function in the tailwindcss codebase.
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