So lets say I have some code in js
const myApiKey = 'id_0001'
But instead of harcoding it I want to put it in some bash script with other env vars and read from it and then replace it in the JS
So lets say for prod I would read from
prod-env.sh or for dev I would read them from
dev-env.sh and then gulp or some other tool does the magic and replaces MY_API_KEY based on whatever is established inside of
const myApiKey = MY_API_KEY