Cloudflare Worker Base

•
91
•

Deploys production-ready Cloudflare Workers using Hono routing and Vite with built-in prevention for common deployment and routing errors.

This skill provides a standardized, production-tested foundation for building Cloudflare Workers using the Hono framework and Vite. It streamlines project scaffolding and configuration, specifically addressing and preventing eight common industry pitfalls including export syntax errors, SPA fallback conflicts, and HMR race conditions. By implementing best practices for Wrangler v4 and the latest Static Assets routing, it ensures high-performance serverless applications that are resilient to deployment failures and routing mismatches.

주요 기능

01Full support for ES Module format and the latest Wrangler v4 specifications
0291 GitHub stars
03Automated Static Assets configuration with intelligent SPA fallback handling
04Optimized Vite integration for seamless local development and HMR
05Comprehensive prevention for 8 major Cloudflare routing and deployment errors
06Pre-configured Hono routing with TypeScript RPC and middleware support

사용 사례

01Scaffolding full-stack serverless applications with React, Vue, or Hono
02Configuring SPA-compatible routing with dedicated /api endpoints on the edge
03Troubleshooting and fixing 'Cannot read properties of undefined' or API 404 errors