MCPcopy
hub / github.com/tailwindlabs/tailwindcss / compileAst

Function compileAst

packages/@tailwindcss-node/src/compile.ts:94–98  ·  view source on GitHub ↗
(ast: AstNode[], options: CompileOptions)

Source from the content-addressed store, hash-verified

92}
93
94export async function compileAst(ast: AstNode[], options: CompileOptions) {
95 let compiler = await _compileAst(ast, createCompileOptions(options))
96 await ensureSourceDetectionRootExists(compiler)
97 return compiler
98}
99
100export async function compile(css: string, options: CompileOptions) {
101 let compiler = await _compile(css, createCompileOptions(options))

Callers 2

createCompilerFunction · 0.90
compilerMethod · 0.90

Calls 2

createCompileOptionsFunction · 0.85

Tested by

no test coverage detected