fix(electron): resolve TypeScript errors in Electron build configuration

- Create separate Electron-specific capacitor config
- Update build script to not copy main config to Electron directory
- Fix TypeScript compilation by excluding main config from Electron tsconfig

Resolves TypeScript compilation errors in npm run build:electron:dev
This commit is contained in:
Jose Olarte III
2025-08-27 19:04:27 +08:00
parent aa346a9abd
commit 8827c4a973
5 changed files with 120 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"compileOnSave": true,
"include": ["./src/**/*", "./capacitor.config.ts", "./capacitor.config.js"],
"include": ["./src/**/*"],
"compilerOptions": {
"outDir": "./build",
"importHelpers": true,