chore(docs): add Cloudflare deployment

This commit is contained in:
Maofeng
2026-09-20 16:29:08 +08:00
parent 7d57c9e7ae
commit 2a6284d1b0
4 changed files with 145 additions and 37 deletions
+3 -1
View File
@@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build && vite build --ssr src/entry-server.tsx --outDir .ssr && bun scripts/prerender.ts",
"deploy": "bun run build && wrangler deploy",
"preview": "vite preview",
"typecheck": "tsc -b"
},
@@ -34,6 +35,7 @@
"tailwindcss": "^4.3.3",
"typescript": "~6.0.2",
"vite": "^8.3.0",
"vite-plugin-satteri": "^0.3.5"
"vite-plugin-satteri": "^0.3.5",
"wrangler": "^4.135.0"
}
}