-
Notifications
You must be signed in to change notification settings - Fork 190
/
Copy pathtsconfig.json
35 lines (35 loc) · 1.14 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
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"$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
"declaration": true,
"allowImportingTsExtensions": true,
"baseUrl": ".",
// "jsx": "preserve",
"paths": {
"@/*": ["src/*"]
},
"noEmit": true,
"useDefineForClassFields": true
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.vue",
"../../../docs/src/charts.ts",
"vite.config.ts", // ok to include as vite generates output - not tsc
"vite.test.config.ts", // ditto
"playwright.config.ts",
"tests/dom-regression.spec.ts"
],
"exclude": ["node_modules", "dist"]
}