Is there a way to inject environment variables, e.g. REACT_APP_MY_API into the index.html file?
According to this, it can be done, but I can\'
From the docs (here):
react-scripts dependency version is equal or greater than 0.0.9.env file at the same level of your package.jsonREACT_APP_; for example REACT_APP_TITLEprocess.env.REACT_APP_XXX% ie %REACT_APP_TITLE% .env file