A lightning-fast frontend build tool designed to leverage JavaScript's native ESM system for unbundled development with instant browser updates.
82
{
"context": "This evaluation assesses the engineer's understanding of Snowpack's routing configuration, specifically the ability to configure route patterns, proxying, URL rewriting, and fallback routing using the routes configuration option.",
"type": "weighted_checklist",
"checklist": [
{
"name": "API Proxy Configuration",
"description": "Correctly configures a route with src matching '/api/*' pattern and dest pointing to 'https://jsonplaceholder.typicode.com' with appropriate path rewriting using Snowpack's proxy destination syntax",
"max_score": 30
},
{
"name": "SPA Fallback Route",
"description": "Implements a catch-all route pattern using 'match: all' or similar catch-all src pattern that redirects to '/index.html' for client-side routing, placed after specific routes to avoid conflicts",
"max_score": 25
},
{
"name": "Static Asset Rewriting",
"description": "Configures a route with src pattern matching '/assets/*' and dest rewriting to '/public/*' using Snowpack's path placeholder syntax (e.g., $1 or similar)",
"max_score": 25
},
{
"name": "Custom 404 Handler",
"description": "Creates a route for '/docs/*' pattern that redirects missing pages to '/docs/index.html', demonstrating understanding of route precedence and fallback mechanisms",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-snowpackevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10