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

Function run

packages/@tailwindcss-postcss/src/index.test.ts:425–433  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

423 let plugin = tailwindcss({ optimize: { minify: false } })
424
425 async function run(input: string): Promise<string> {
426 let ast = postcss.parse(input)
427 for (let runner of (plugin as any).plugins) {
428 if (runner.Once) {
429 await runner.Once(ast, { postcss, result: { opts: { from }, messages: [] } })
430 }
431 }
432 return ast.toString()
433 }
434
435 let result = await run(input)
436

Callers 1

index.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected