We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b922073 commit f6afe01Copy full SHA for f6afe01
package.json
@@ -14,7 +14,7 @@
14
"build:prod": "NODE_ENV=production tsc && vite build",
15
"build:dev": "NODE_ENV=development tsc && vite build",
16
"build:sync": "wrangler deploy --dry-run",
17
- "deploy:worker": "wrangler deploy",
+ "deploy:worker": "wrangler deploy --env production",
18
"deploy:web": "pnpm build && wrangler pages deploy dist --project-name anode",
19
"deploy": "pnpm deploy:web && pnpm deploy:worker",
20
"deploy:production": "test -f .env.production || (echo 'Error: .env.production file is required for production deployment' && exit 1) && pnpm build:prod && wrangler pages deploy dist --project-name anode --commit-dirty=true",
0 commit comments