Piotr Chrobak

Results 2 comments of Piotr Chrobak

@apuatcfbd As a workaround, put a variable with concatenation (REACT_APP_BASE_URL) in env files that are default for CRA, such as: https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used

The CRA with env-cmd merges all the files together, so in your example, it will search for: `.env.production.test`, `.env.production.local`, `.env.local`, `.env.production`, `.env` The first file is from env-cmd, so variable...