Type Script Error checking breaks down after doing builds in Android Studio #16993
-
I'm having an issue with capacitor compilation. I have an application that's targeted at both SPA and Capacitor. I can happily go along doing quasar dev, quasar build, etc. To build the hybrid app I'm using android studio to build the capacitor apps specifically to generate signed bundles using Android Studio frankly because it's easier than command line. This is after doing the quasar dev/build -m capacitor -T android compile. The issue I'm facing is that after doing the build in android studio for both debug and release bundles I start getting errors related to type script in my project in VSCode. Bascially what's happening is the tsconfig.json file is being ignored. I can delete the \src-capacitor\android\app\build directory and all of my type script "errors" are gone. tsconfig, specifically the "paths" and a couple other things just start working. My questions are:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, You should add an
|
Beta Was this translation helpful? Give feedback.
Hi,
You should add an
exclude
option to your/tsconfig.json
file, starting with (and adding whatever else you feel necessary):