DEV Community


Discussion on: Managing .env variables for provisional builds with Create React App

sushantraje2000 profile image
sushantraje2000 • Edited

I am using visual studio 2017 with React template
in which I followed above steps but its not working for staging

can you add working source code also

donghyukjacobjang profile image
Donghyuk (Jacob) Jang Author • Edited

There was env-cmd version update and it required a parameter to point a custom env file, As @foxbit19 discovered.
CRA template with env-cmd example is available at .
Thank you so much @sushantraje2000