This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
Proper way of using HEROKU_SLUG_COMMIT as a compile time constant #127
Closed
Description
I would like to use HEROKU_SLUG_COMMIT
as a compile time constant. I am confused if I should follow https://github.com/mars/create-react-app-buildpack#user-content-add-on-config-vars as that mentions "set-up & use Runtime configuration to access the variables". Is there no way I can just access the constant as as constant? I'm not worried about that value changing between pipeline deploys as it is the git hash.
Metadata
Metadata
Assignees
Labels
No labels