Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Overall
score
98%
{
"context": "This evaluation assesses how effectively the engineer uses webpack-bundle-analyzer's core APIs to extract and report comprehensive size metrics (stat, parsed, gzip, brotli) from webpack bundle statistics.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses getViewerData function",
"description": "Uses webpack-bundle-analyzer's `getViewerData()` function from the analyzer module to process webpack stats and bundle files, which is the primary API for extracting size data",
"max_score": 30
},
{
"name": "Extracts stat sizes",
"description": "Correctly extracts and returns statSize values for assets from the webpack-bundle-analyzer output, representing the original input size before transformations",
"max_score": 15
},
{
"name": "Extracts parsed sizes",
"description": "Correctly extracts and returns parsedSize values for assets from the webpack-bundle-analyzer output, representing the output size after minification and transformations",
"max_score": 15
},
{
"name": "Handles gzip compression",
"description": "Correctly uses the compressionAlgorithm option set to 'gzip' and extracts gzipSize values from the webpack-bundle-analyzer results when that algorithm is specified",
"max_score": 15
},
{
"name": "Handles brotli compression",
"description": "Correctly uses the compressionAlgorithm option set to 'brotli' and calculates/extracts brotli compressed sizes from the webpack-bundle-analyzer results when that algorithm is specified",
"max_score": 15
},
{
"name": "Proper stats reading",
"description": "Uses webpack-bundle-analyzer's `readStatsFromFile()` function or similar API to properly read and parse the webpack stats JSON file",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-webpack-bundle-analyzerevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10