mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 10:53:24 +00:00
Fix deploy command to explicitly specify worker entry point
- Changed deploy to directly specify src/worker.ts - Removed npm run build (not needed for Workers, wrangler bundles itself) - Fixes CI/CD 'Missing entry-point' error
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"dev": "ts-node src/index.ts",
|
||||
"start": "node dist/index.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"deploy": "npm run build && npx wrangler deploy"
|
||||
"deploy": "npx wrangler deploy src/worker.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^4.20251014.0",
|
||||
|
||||
Reference in New Issue
Block a user