mirror of
https://github.com/Nezumi-2711/9router-config-generate.git
synced 2026-09-22 13:38:32 +00:00
Setup Cloudflare Workers static assets deployment
Adds wrangler.jsonc for static asset hosting and wrangler as a dev dependency so the repo is ready to connect via Cloudflare's Workers Builds Git integration. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+5
-2
@@ -7,7 +7,9 @@
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"deploy": "vite build && wrangler deploy",
|
||||
"preview:cf": "vite build && wrangler dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.2.8",
|
||||
@@ -29,6 +31,7 @@
|
||||
"globals": "^17.7.0",
|
||||
"typescript": "~6.0.2",
|
||||
"typescript-eslint": "^8.65.0",
|
||||
"vite": "^8.2.0"
|
||||
"vite": "^8.2.0",
|
||||
"wrangler": "^4.123.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user