I have this project.json setup where the nativescript.config-aaa.ts contains a different appResourcesPath than the default (nativescript.config.ts). This seems to work fine.
However, I'm also building for different environments, and have to set the application id based on that, so I add "id" to the config.
"app-test": {
"flags": "--config=nativescript.config-aaa.ts",
"id": "com.app.aaa.test"
...
"app-dev": {
"flags": "--config=nativescript.config-aaa.ts",
"id": "com.app.aaa.dev"
The problem is that the id replacements happens in the default nativescript.config.ts, while the rest of the build process is using the specified nativescript.config-aaa.ts.
Any tips on how I can handle this situation properly?
I have this
project.jsonsetup where thenativescript.config-aaa.tscontains a differentappResourcesPaththan the default (nativescript.config.ts). This seems to work fine.However, I'm also building for different environments, and have to set the application id based on that, so I add
"id"to the config.The problem is that the id replacements happens in the default
nativescript.config.ts, while the rest of the build process is using the specifiednativescript.config-aaa.ts.Any tips on how I can handle this situation properly?