Open ZainW opened 1 year ago
do environment variables load differently when bundled for edge?
ah they might be treeshaking them from process.env on edge - similar to Next...
cc @nexxeln can you check plz :)
yeah i can reproduce this
Do we need to do manual destruction here too?
was converting my env usage from the built in nuxt one (using useRuntimeConfig) to the t3-env
ran into a a situation that is not supported
this is something that does work when using Nuxt's default runtime as such
getting an error that crashes the edge function saying DATABASE_URL is required
this only happens when deploying to vercel-edge as opposed to just the vercel preset.
do environment variables load differently when bundled for edge? is there a way to make it use nuxt's own runtimeConfig https://nuxt.com/docs/api/composables/use-runtime-config#environment-variables