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 effectively the solution uses @tailwindcss/node's URL rewriting utilities to normalize CSS asset references. Focuses on correctly configuring rewriteUrls for url() and image-set() entries while respecting external/data URLs and returning the rewritten CSS.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Rewrite API",
"description": "Imports and relies on @tailwindcss/node's rewriteUrls as the primary mechanism for rewriting CSS asset URLs rather than custom parsing.",
"max_score": 30
},
{
"name": "Base and root",
"description": "Calls rewriteUrls with css content plus a base derived from the stylesheet directory (e.g., path.dirname of the source path) and a root taken from the provided project root option.",
"max_score": 25
},
{
"name": "Image-set support",
"description": "Configures rewriteUrls so that both standard url() entries and image-set() candidates are rewritten, ensuring image-set sources receive the same root-prefixed paths.",
"max_score": 20
},
{
"name": "Skip external/data",
"description": "Ensures rewriteUrls is used in a way that leaves external, protocol-relative, data:, and already-rooted URLs untouched instead of manually modifying them.",
"max_score": 15
},
{
"name": "Async result",
"description": "Handles the Promise returned by rewriteUrls (awaits or returns it) and exposes the rewritten CSS string to callers.",
"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