(resovled) Tsconfig.json has wrong extension on capacitor.config in include

Wappler creates capacitor.config.json, but tsconfig.json does not include that file. It has capacitor.config.js and capacitor.config.ts. Neither of those files exists in Wappler setup for Capacitor.

image

capacitor.config.json is the configuration file capacitors needs. It is then used by capacitor itself. See:

You have tsconfig.json that takes everything under src and capacitor.config.ts and capacitor.config.js, but Wappler doesn’t have either of those file extensions, so the tsconfig.json should be updated to include capacitor.config.json instead of capacitor.config.js.

Well we use the generic config as specified in:

You can change capacitor.config.ts manually if you are using typescript like the docs says

Doh. ok, you’re including the file in “electron-builder.config.json”.

image