I hv a single code base repo, which has capacitor configuration for android as well as for IOS. but now we hv restructure the repo into monolithic for building specific project build using the root level component, angular.json, package.json are as common.
Now I’m stuck while implementing the capacitorjs. How should I approach & implement capacitor.js for monolithic? it would be very helpfull if you share the structure. I want to create seperate builds for every mono repo.
My re-structure is as below:
-angularProject
-android
-ios
-projects/project1
-tsconfig.app.json (which is pointing to root tsconfig.app.json)
-projects/project2
-capacitor.config.ts
-angular.json
-tsconfig.app.json
I tried capaictor.project1.config.ts at root level, but it does not take it, it requires capacitor.config.ts, the I put that file in the “projects/project1” folder. now it says it will be run in root folder where angular.json is present.
Thanks in advance.