~~Is there a way to get the environment information on which worker is being deployed on in custom b

Is there a way to get the environment information on which worker is being deployed on in custom builds?
What I mean is, I have a script which runs before deployement and does some stuff, but it needs to know the environment
Which I pass to wrangler as wrangler deploy --env prod I looked to env variables but I dont think wrangler relays this to custom build script


NVM build is not top-level only directive so i just placed it under [env.prod]
Was this page helpful?