Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Overall
score
98%
{
"context": "This criteria evaluates the engineer's ability to use webpack-bundle-analyzer's dynamic port assignment capability. The focus is on correctly using the package's 'start' function with the analyzerPort option to support both automatic and fixed port configurations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses start function",
"description": "The solution imports and uses the 'start' function from webpack-bundle-analyzer package",
"max_score": 25
},
{
"name": "Automatic port configuration",
"description": "Correctly configures analyzerPort option with 'auto' or 0 to enable automatic port assignment by the operating system",
"max_score": 25
},
{
"name": "Fixed port configuration",
"description": "Correctly passes specific port numbers via the analyzerPort option when fixed ports are required",
"max_score": 20
},
{
"name": "Port retrieval",
"description": "Correctly retrieves and returns the actual port number used by the server after it starts",
"max_score": 20
},
{
"name": "Options handling",
"description": "Properly structures the options object with analyzerMode and openAnalyzer settings as needed for the start function",
"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