Are t3env client side env vars set at build time or runtime?

I know Next.js replaces process.env.NEXT_PUBLIC_* with values at build time, so I was wondering if this is the case with t3env? I'm building my app as a docker image (skipping env validation) so I can setup env vars when deploying. Are t3env client side env vars set at build time or runtime?
2 Replies
FleetAdmiralJakob 🗕 🗗 🗙
I think it depens on which route you are. If you statically render the route then the env is analyzed at build time. On a dynamic route at runtime
Ayoub K
Ayoub K•7d ago
That's my understanding too
Want results from more Discord servers?
Add your server