Open History to see the last commit
1{
2 "name": "Cloudflare",
3 "description": "Cloudflare deployment setup",
4 "aiDescription": "Cloudflare Workers/Pages provides edge deployment—your app runs in data centers worldwide, close to your users. Key features: sub-50ms cold starts, global distribution (300+ locations), built-in KV storage, Durable Objects for stateful edge apps, and integration with Cloudflare's CDN/security services. Choose Cloudflare when you need the lowest latency globally, want edge computing capabilities, or are already using Cloudflare for DNS/CDN. It excels at API endpoints that need to be fast everywhere. Trade-offs: Workers have a more constrained runtime than Node.js (no filesystem, limited Node APIs), and debugging can be trickier. Pair with Neon or another edge-compatible database for full-stack edge apps.",
5 "link": "https://developers.cloudflare.com/workers/vite-plugin/",
6 "phase": "add-on",
7 "modes": ["file-router", "code-router"],
8 "type": "deployment",
9 "priority": 200,
10 "integrations": [
11 {
12 "type": "vite-plugin",
13 "import": "import { cloudflare } from '@cloudflare/vite-plugin'",
14 "code": "cloudflare({ viteEnvironment: { name: 'ssr' } })"
15 }
16 ]
17}