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

Function compile

packages/@tailwindcss-node/src/compile.ts:100–104  ·  view source on GitHub ↗
(css: string, options: CompileOptions)

Source from the content-addressed store, hash-verified

98}
99
100export async function compile(css: string, options: CompileOptions) {
101 let compiler = await _compile(css, createCompileOptions(options))
102 await ensureSourceDetectionRootExists(compiler)
103 return compiler
104}
105
106export async function __unstable__loadDesignSystem(css: string, { base }: { base: string }) {
107 return ___unstable__loadDesignSystem(css, {

Callers 3

generateMethod · 0.90
createCompilerFunction · 0.90
prepareConfigFunction · 0.90

Calls 2

createCompileOptionsFunction · 0.85

Tested by

no test coverage detected