DEV Community


Discussion on: Environment files in React.js app

samirasaad profile image
samira saad Author

Hello pavan,

we need cmd-env to tell the script which env file it should read from
For example:

our start should read from stage file as mentioned in the article but if we need to develop with the variables of the production locally you will make your start script read from the production env file

which is can't be done without cmd-env or similar package