When building applications with vercel, sometimes we want to expose vercel system environment variables to the client, or building variables from parts
For example, I want to use the VERCEL_GIT_COMMIT_REF
in my client-side frontend as PUBLIC_NAMESPACE
for SvelteKit to allow it.
Sometimes, you may also want to do things like
DB_PORT=8000
DB_HOST=example.com
DB_ENDPOINT=https://$DB_HOST:$DB_PORT/path
Currently it doesn’t seem possible to achieve something like this.
See also: