Jul 10, 2017 · 1 min read
Thanks for this — it works great. I had to tweak one thing to get it working in our CI environment: add ./ before the .env.${REACT_APP_ENV} — so that script entry becomes
"build": "sh -ac '. ./.env.${REACT_APP_ENV}; react-scripts build'",