How to access Netlify Continuous Deployment Pre-Defined Env. Variables in client side JS?

Hi there,

You would have to interpolate that at build time, which is the only time that Netlify both knows the commit ref, and can change your files. I understand you don’t have a build command now but you’d need to create one to “do something” with the environment variable, so check out this article about how environment variables at netlify work and how to use them: