DEV Community

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

 
donghyukjacobjang profile image
Donghyuk (Jacob) Jang

I have tried in the example repository, and it seems to be working fine. You may have some conflicts.

The example repository is github.com/DonghyukJacobJang/cra-e...

You will be able to find .env.local and start:local in package.json.

Since I cannot see all your config and settings, providing you the example repo is the best thing I can do at the moment.

Please let me know if you have questions.

Best,
Donghyuk (Jacob) Jang

Thread Thread
 
consciousness_dev profile image
Ario Setiawan

Pardon Me, i'd typo on 'react-script', which is true 'react-scripts', with 's' in the end of script it, thanks a lot! :O