Is there a good way to handle different configuration based on environment then insert it with condition, something like, dev config when using ionic serve
and another config for ionic run
with two (or more) files like this:
dev.config.json
{
"API_URL": "http://uri.to.dev"
}
prod.config.json
{
"API_URL": "http://uri.to.prod"
}