-
Notifications
You must be signed in to change notification settings - Fork 1.2k
🐛 BUG: env in redirected configs #8359
Copy link
Copy link
Labels
wranglerRelating to the Wrangler CLI toolRelating to the Wrangler CLI tool
Description
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions are you using?
3.x
What operating system and version are you using?
All
Please provide a link to a minimal reproduction
No response
Describe the Bug
A redirected config should not have environments nor should Wrangler try to apply one when using a redirected config.
Instead the environment should be set when running vite dev or vite build: https://github.com/cloudflare/workers-sdk/tree/main/packages/vite-plugin-cloudflare#cloudflare-environments
- ignore
--envand similar when using a redirected config - put up a warning when Wrangler is ignoring environments
- error if a redirected config has any named environments
Please provide any relevant error logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wranglerRelating to the Wrangler CLI toolRelating to the Wrangler CLI tool
Type
Projects
Status
Done