Show info about files/packages included with your rollup bundle
94
{
"context": "This criteria evaluates how well the engineer uses rollup-plugin-sizes to implement detailed file-level breakdown functionality, focusing specifically on the plugin's ability to show individual file information within packages.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin initialization",
"description": "Uses the sizes() function from rollup-plugin-sizes to create a plugin instance that can be added to Rollup's plugins array",
"max_score": 15
},
{
"name": "Details option usage",
"description": "Correctly uses the details: true option to enable file-level breakdown output when detailed reporting is requested",
"max_score": 25
},
{
"name": "Custom report function",
"description": "Implements custom reporting using the report option which receives structured data containing file-level information grouped by package",
"max_score": 20
},
{
"name": "Data structure access",
"description": "Accesses and uses the data structure provided to custom report functions (data object with files grouped by package, totals array, total size) to display package and file information",
"max_score": 20
},
{
"name": "File information display",
"description": "Extracts and displays individual file sizes and percentages from the package data, showing the hierarchical relationship between packages and their constituent files",
"max_score": 15
},
{
"name": "Option handling",
"description": "Properly handles the plugin options to control when detailed file breakdowns are shown versus package-level summaries only",
"max_score": 5
}
]
}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