alex8088 / electron-vite-boilerplate

Comprehensive and security Electron template (TypeScript + Vue3 + Vite).
https://electron-vite.org
147 stars 28 forks source link

tsconfig.node.json include all files in src/main #12

Closed Kinqdos closed 9 months ago

Kinqdos commented 9 months ago

Shouldnt the tsconfig.node.json include all files in src/main and src/preload instead of only the root ones?

So instead of:

"include": ["electron.vite.config.*", "src/main/*", "src/preload/*"],

use this:

"include": ["electron.vite.config.*", "src/main/**/*", "src/preload/**/*"],
alex8088 commented 9 months ago

@Kinqdos Thanks