-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
37 lines (32 loc) · 1.24 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
36
37
{
"compilerOptions": {
"target": "ESNext", // Target ECMAScript version
"useDefineForClassFields": true, // Enable class field declarations
"module": "ESNext", // Module system
"skipLibCheck": true, // Skip type checking of declaration files
/* Bundler mode */
"moduleResolution": "bundler", // Module resolution strategy
"allowImportingTsExtensions": true, // Allow importing TypeScript extensions
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
"resolveJsonModule": true, // Enable JSON module resolution
"isolatedModules": true, // Ensure module isolation
"noEmit": true, // Disable emitting output files (useful for non-library projects)
"jsx": "preserve", // JSX handling strategy
/* Linting */
"strict": true, // Enable strict type checking
/* Aliases */
"baseUrl": ".", // Base directory for module resolution
"paths": {
"@/*": [ "src/*" ] // Path mappings for module resolution
},
},
"include": [
"**/*.ts", // Include TypeScript source files
"**/*.d.ts", // Include TypeScript declaration files
"**/*.vue" // Include Vue.js source files
],
"exclude": [
"dist", // Exclude the 'dist' directory
"node_modules", // Exclude the 'node_modules' directory
]
}