DEV Community

Discussion on: Environment Variables

Collapse
 
luizwbr profile image
Luiz Felipe Weber

Great article... BTW, Cross-env is an alternative too :)
npmjs.com/package/cross-env

You can use it this way:

cross-env NODE_ENV=prd npm run start

Collapse
 
pharzad profile image
Farzad Aziminia

thanks for your comment Luiz I'll take a look at that library.