-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy pathtsconfig.json
More file actions
27 lines (27 loc) · 1003 Bytes
/
tsconfig.json
File metadata and controls
27 lines (27 loc) · 1003 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
27
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext", // Modern JavaScript target for best performance
"module": "ESNext", // Use ESNext module resolution
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false, // Disallow JavaScript files
"skipLibCheck": true, // Skip type checking of declaration files
"strict": true, // Enable strict type-checking options
"forceConsistentCasingInFileNames": true, // Ensure consistent casing in file names
"moduleResolution": "Bundler", // Use Node module resolution
"isolatedModules": true, // Ensure each file is treated as a module
// Package-specific
// "allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
// "jsx": "react-jsx",
"noEmit": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.d.ts",
"vite.config.ts", // ok to include as vite generates output - not tsc
"vite.test.config.ts" // ditto
],
"exclude": ["node_modules", "dist"]
}