Show info about files/packages included with your rollup bundle
94
{
"context": "This criteria evaluates how well the engineer uses path manipulation capabilities to implement base directory management and relative path resolution for modules, focusing on correct usage of path.dirname() for base directory extraction and path.relative() for path transformation.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Base directory extraction",
"description": "Uses path.dirname() to extract the base directory from entry point file paths. Should handle single entry points and multiple entry formats (array and object).",
"max_score": 25
},
{
"name": "Entry point normalization",
"description": "Properly normalizes entry point configurations to handle different input formats (string, array, object with named entries). Should convert all formats to a consistent internal representation for processing.",
"max_score": 20
},
{
"name": "Relative path calculation",
"description": "Uses path.relative() to convert absolute module paths to paths relative to the appropriate base directory. Should only apply this transformation to 'app' category modules.",
"max_score": 25
},
{
"name": "Base-module matching",
"description": "Correctly matches each module to the appropriate base directory when multiple entry points exist. Should maintain correspondence between entry points and their modules.",
"max_score": 20
},
{
"name": "Category-based handling",
"description": "Differentiates between module categories, applying relative path transformation only to 'app' modules while preserving identifiers for npm packages and helper modules.",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-rollup-plugin-sizesdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10