Node.js-specific utilities and runtime functionality for Tailwind CSS v4, providing compilation tools, module dependency analysis, source map handling, path normalization, and optimization utilities.
{
"context": "Evaluates how well the solution uses @tailwindcss/node compilation helpers to turn CSS or AST input into final CSS while tracking dependencies, handling URL rewriting, and surfacing detected source roots. Emphasizes correct use of compile/compileAst options, compiler outputs, and package-provided toggles rather than custom pipelines.",
"type": "weighted_checklist",
"checklist": [
{
"name": "String compile",
"description": "Uses the package's compile(css, { base, from?, onDependency, shouldRewriteUrls? }) helper and calls compiler.build() to produce the CSS for string input rather than hand-rolled processing.",
"max_score": 25
},
{
"name": "AST compile",
"description": "Routes AST input through compileAst(ast, { base, from?, onDependency, shouldRewriteUrls? }) so it shares the same pipeline and options as string compilation.",
"max_score": 20
},
{
"name": "Dependency capture",
"description": "Provides an onDependency callback to compile/compileAst that collects absolute paths and returns them in the BuildResult without losing entries from imports or module resolution.",
"max_score": 20
},
{
"name": "URL rewrite toggle",
"description": "Controls shouldRewriteUrls based on the rewrite flag and supplies project root context so the helper rewrites url(...) references instead of manual string manipulation.",
"max_score": 15
},
{
"name": "Root reporting",
"description": "Reads compiler.root from the returned compiler and propagates the pattern or 'none' value to the BuildResult, handling missing source roots gracefully.",
"max_score": 10
},
{
"name": "Output parity",
"description": "Relies on compiler.build() output for both string and AST flows to keep CSS content consistent rather than duplicating or bypassing the package pipeline.",
"max_score": 10
}
]
}tessl i tessl/npm-tailwindcss--node@4.1.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10