#Where to put the build variables in my wrangler.jsonc ?

8 messages · Page 1 of 1 (latest)

vivid spire
#

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

heady trench
vivid spire
#

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.

eternal plaza
#

Build variables cannot be set in wrangler config today.

heady trench
#

Ah darn it, missed that you said build variables, sorry!

vivid spire