Where to put the build variables in my wrangler.jsonc ?
I have some variables I need at build time and I have now set them in the dashbaord (see the screenshot; they're public, don't worry) but it says that I should update my wrangler.jsonc - but WHERE?
I looked through the docs and I can't find where to put those variables...
here is my complete
wrangler.jsonc: https://github.com/supportmailapp/website/blob/main/wrangler.jsonc
6 Replies
Cloudflare Docs
Configuration
Use a configuration file to customize the development and deployment setup for your Worker project and other Developer Platform products.
well... I did add it there and my build still failed because the env variables was missing. 0.o
It only worked after I set that in the dashboard there.
Note that I had already set those variables above.

Build variables cannot be set in wrangler config today.
Ah darn it, missed that you said build variables, sorry!
yikes
no worries, I'm tired too. I will go to bed now 😄
thanks guys, have a great day!