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 leverages @tailwindcss/node source map serialization helpers to satisfy the spec. Focuses on correct use of toSourceMap for both JSON strings and decoded maps, and on using the inline comment it returns when appending to CSS.",
"type": "weighted_checklist",
"checklist": [
{
"name": "String input via toSourceMap",
"description": "Calls @tailwindcss/node toSourceMap on JSON string inputs and surfaces the resulting raw unchanged plus the inline data URL comment exactly as produced by toSourceMap.",
"max_score": 25
},
{
"name": "Decoded map serialization",
"description": "Builds a DecodedSourceMap and feeds it to toSourceMap to obtain raw JSON where sources and sourcesContent are deduplicated and mappings populated, instead of manually assembling base64 strings.",
"max_score": 25
},
{
"name": "Missing source handling",
"description": "Relies on toSourceMap to generate placeholder source entries (e.g., names starting with \"<unknown\") and empty content when originalPosition is absent or null, rather than inventing custom placeholders.",
"max_score": 20
},
{
"name": "Inline comment usage",
"description": "Uses the inline property returned by toSourceMap when appending to CSS, ensuring exactly one newline precedes the comment and avoiding hand-crafted sourceMappingURL strings.",
"max_score": 15
},
{
"name": "Direct package dependency",
"description": "Imports toSourceMap (and related types if needed) directly from @tailwindcss/node without reimplementing serialization utilities or pulling alternative source map packages.",
"max_score": 15
}
]
}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