58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Path mapping */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"~/*": ["src/*"]
|
|
},
|
|
|
|
/* Additional options */
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"types": [
|
|
"node",
|
|
"vite/client",
|
|
"element-plus/global",
|
|
"unplugin-auto-import/client"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"src/types/global.d.ts",
|
|
"auto-imports.d.ts",
|
|
"components.d.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist"
|
|
],
|
|
"references": [
|
|
{ "path": "./tsconfig.node.json" }
|
|
]
|
|
}
|