Skip to content

Support local production Wrangler config#44

Open
Buooy wants to merge 2 commits into
cloudflare:mainfrom
0xBuooy:chore/local-production-wrangler-config
Open

Support local production Wrangler config#44
Buooy wants to merge 2 commits into
cloudflare:mainfrom
0xBuooy:chore/local-production-wrangler-config

Conversation

@Buooy
Copy link
Copy Markdown

@Buooy Buooy commented May 18, 2026

Add a gitignored wrangler.production.jsonc convention for production-only deployment values so real domains, mailbox addresses, and Access settings do not need to live in the shared config.

Document the workflow in the README and add production-specific npm scripts for Wrangler type generation and deployment using the local config file.

Buooy added 2 commits May 18, 2026 11:51
Add a gitignored wrangler.production.jsonc convention for production-only deployment values so real domains, mailbox addresses, and Access settings do not need to live in the shared config.

Document the workflow in the README and add production-specific npm scripts for Wrangler type generation and deployment using the local config file.
Build production deployments through the Cloudflare Vite plugin with the local production Wrangler config, so React Router generates the deployable build/server/wrangler.json output.

Update deploy:production to deploy the generated build config instead of passing wrangler.production.jsonc directly to Wrangler, which bypassed the Vite build output and failed to resolve the virtual React Router server build module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant