tsconfig.json and vite.config.ts makes things difficult to build but we're getting somewhere on it. I'm likely going to change these files and perhaps the layout of the project as it grows, especially for the debugging parts and building parts (e.g ./dist/ and the ts, vite, and node configs) so far, its going well, slow and steady start, the next thing I need to target is fixing to why electron won't load built vite files and figure out how to run electron and vite together perhaps as a means of making debugging / programming easier
39 lines
885 B
JSON
39 lines
885 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2023",
|
|
"lib": ["ES2023", "DOM"],
|
|
"module": "esnext",
|
|
"types": ["vite/client", "react", "node"],
|
|
"allowArbitraryExtensions": true,
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Other */
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
"paths": {
|
|
"@/*": ["./src/renderer/*"]
|
|
}
|
|
},
|
|
"include": ["src"]
|
|
}
|