I would like to embed the Git SHA and version number into a program at compile-time so it can be retrieved via an interface at runtime. process.env contains environment variables at runtime. Is there something similar to store computed values at compile-time?
process.env
2.1m questions
2.1m answers
60 comments
57.0k users