Steps to reproduce and a minimal demo of the problem
At the moment we have to run:
npm run js:staging
npm run js:dev
Current behavior
We need to run a command per environment
Expected/desired behavior
We can use process.env instead to setup custom variables and make scripts to work dynamically based on the environment where those are executed so we have a single command instead of n based on environments.
Steps to reproduce and a minimal demo of the problem
At the moment we have to run:
npm run js:staging
npm run js:dev
Current behavior
We need to run a command per environment
Expected/desired behavior
We can use
process.env
instead to setup custom variables and make scripts to work dynamically based on the environment where those are executed so we have a single command instead ofn
based on environments.