Getting a build numer/version available in process.env automatically?

well, that will work only if you execute it during build, it in javascript, but yes, that is a pattern that can work in that context.

You may need this advice as well if you are trying to access those variables at BROWSE time, which won’t work using that process: