I need to change the main service url in manifest.json
file, in order to use the app with different backend systems. I just wondered if there is an elegant way to define environment variables and build the app with different targets?
Edit: I just wanted to know can we have something like this:
"mainService": {
"uri": ${my_uri},
"type": "OData",
"settings": {
"odataVersion": "2.0",
"localUri": "localService/metadata.xml"
}
}
then path ${my_uri}
as parameter when we build
the app.