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 whether the Dev Cache Reloader uses @tailwindcss/node to bust CommonJS and ESM caches per the spec: clearing require entries for changed files and relying on the package's ESM cache loader for fresh dynamic imports.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Require clearing",
"description": "Refresh paths are resolved to absolutes and passed through @tailwindcss/node/require-cache's clearRequireCache (not manual delete loops) before any CommonJS reloads.",
"max_score": 35
},
{
"name": "ESM loader hook",
"description": "Solution imports @tailwindcss/node (or explicitly registers its esm-cache-loader) so dynamic imports receive cache-busting query parameters instead of hand-rolled random suffixes.",
"max_score": 30
},
{
"name": "ESM refresh",
"description": "loadESM uses dynamic import calls that flow through the package loader so an updated on-disk module after refresh resolves with the new export rather than the prior cached module record.",
"max_score": 20
},
{
"name": "Path handling",
"description": "refresh uses the provided resolvePath helper to normalize inputs into absolute paths before invoking clearRequireCache, ensuring stats track the post-resolution values.",
"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