-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
26 lines (26 loc) · 984 Bytes
/
tsconfig.json
File metadata and controls
26 lines (26 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"compilerOptions": {
"target": "es2020", // Or a target supported by your Electron version
"module": "esnext", // Or "esnext" if using modules
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"jsx": "react", // If you're using React
"outDir": "./dist", // Output directory for compiled JavaScript
"baseUrl": "./src", // Base directory for module resolution
"allowImportingTsExtensions": true, // Allow importing TypeScript files with .ts extension
"allowJs": true, // Allow JavaScript files to be compiled
"noEmit": true, // Set to true if you want to use tsc for type checking only
"resolveJsonModule": true, // If you need to import JSON files
"paths": {
"*": [
"./*"
] // Allows imports relative to the src folder
}
},
"include": [
"src/**/*" // Include all TypeScript files in the src directory
]
}