For Create React Application build time env var need to be prefixed with REACT_APP_
. How can I use one of Netlify read only var like COMMIT_REF
. If I try setting REACT_APP_COMMIT_REF
to $COMMIT_REF
in the Netlify UI, it doesn’t work.
For Create React Application build time env var need to be prefixed with REACT_APP_
. How can I use one of Netlify read only var like COMMIT_REF
. If I try setting REACT_APP_COMMIT_REF
to $COMMIT_REF
in the Netlify UI, it doesn’t work.