Uncaught ReferenceError: process is not defined / how to use environment variables in HTML?

Thanks, Chris, for your extensive answer on this.

What if there is no build environment to speak of? Like I said, my use case is plain vanilla HTML/CSS/JS, no webpack, no framework or front-end library. Am I to understand that it’s impossible to access env vars in that case?

Thanks again for your help.