-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
22 lines (22 loc) · 1.03 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"compilerOptions": {
"target": "ES2017", // Target ECMAScript 6 (modern browsers)
"module": "ES2020", // Use ES6 modules for frontend
"moduleResolution": "node", // Resolve modules as Node.js does
"esModuleInterop": true, // Enable interop between CommonJS and ES modules
"skipLibCheck": true, // Skip type checks on declaration files
"strict": true, // Enable all strict type checking options
"forceConsistentCasingInFileNames": true, // Enforce consistent file casing
"allowSyntheticDefaultImports": true, // Allow default imports for modules without default exports
"resolveJsonModule": true, // Allow importing .json files
"outDir": "./public/js", // (Optional) Specify output directory for TypeScript files
"sourceMap": true // Generate source maps for easier debugging
},
"include": [
"src/**/*.ts" // Include all TypeScript files in the 'src' folder
],
"exclude": [
"node_modules", // Exclude 'node_modules'
"public" // Exclude 'public' folder (as it contains bundled output)
]
}