2023-12-15 20:25:35 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "ES2020",
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"module": "ESNext",
|
|
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
2024-04-22 02:24:36 +08:00
|
|
|
/** Bundler mode */
|
2023-12-15 20:25:35 +08:00
|
|
|
"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
|
|
|
|
2024-04-22 02:24:36 +08:00
|
|
|
/** Linting */
|
2023-12-15 20:25:35 +08:00
|
|
|
"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" }]
|
|
|
|
}
|