We have a lot of environments in my work and currently we need to edit the file to choose which we will work on. I know I can make a few env files and decide which one to use when running “npm start (file name)”
I was wondering if it’s possible to do something like “npm start (env name)” And inside the .env file use the the name that I put in the command line.
submitted by /u/Dragon_yum
[link] [comments]