What's the best way to embed a generated value in TypeScript at compile-time?

前端 未结 0 1203
清歌不尽
清歌不尽 2021-01-25 09:23

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 environ

相关标签:
回答
  • 消灭零回复
提交回复
热议问题