I am using same code for multiple project, based on environment file value it give different functionality to project.
I have added:
"scripts":{
"abc": "npm-run-all -p watch-css start-js"
"xyz": "npm-run-all -p watch-css start-js"
}
So I want to do like if i run npm run abc
it should take .env.production.abc
and if I run command npm run xyz
it should take .env.production.xyz
.
Is it possible?