2023-12-15 20:25:35 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "ES2020",
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"module": "ESNext",
|
|
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
|
|
|
/* Bundler mode */
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"noEmit": true,
|
|
|
|
"jsx": "preserve",
|
2024-01-05 21:02:11 +08:00
|
|
|
"jsxImportSource": "vue",
|
2023-12-15 20:25:35 +08:00
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
"strict": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
2023-12-16 03:56:10 +08:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
|
|
|
"baseUrl": ".",
|
|
|
|
"paths": {
|
|
|
|
"~/*": ["./*"],
|
|
|
|
"@/*": ["./src/*"]
|
|
|
|
}
|
2023-12-15 20:25:35 +08:00
|
|
|
},
|
|
|
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
|
|
}
|