31 lines
712 B
JSON
31 lines
712 B
JSON
{
|
|
"compilerOptions": {
|
|
// Target modern browsers
|
|
"target": "ES2020",
|
|
"module": "ES2020",
|
|
"lib": ["ES2020", "DOM"],
|
|
|
|
// Module resolution
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"allowImportingTsExtensions": true,
|
|
|
|
// Emit
|
|
"noEmit": true, // Vite handles compilation
|
|
"isolatedModules": true,
|
|
|
|
// Type checking
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitReturns": true,
|
|
|
|
// Interop
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|