2025-06-09 10:23:45 +08:00
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
|
|
|
"target": "ES2022",
|
|
|
|
|
"lib": ["ES2023"],
|
|
|
|
|
"module": "ESNext",
|
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
|
|
|
|
|
/* Bundler mode */
|
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
|
"verbatimModuleSyntax": true,
|
|
|
|
|
"moduleDetection": "force",
|
|
|
|
|
"noEmit": true,
|
|
|
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
|
"strict": true,
|
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
|
"noUnusedParameters": true,
|
2025-06-09 17:10:41 +08:00
|
|
|
"erasableSyntaxOnlsy": true,
|
2025-06-09 10:23:45 +08:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
"noUncheckedSideEffectImports": true
|
|
|
|
|
},
|
2025-06-09 17:10:41 +08:00
|
|
|
// "include": ["vite.config.ts"]
|
|
|
|
|
"include": [
|
|
|
|
|
"src/**/*.ts",
|
|
|
|
|
"src/**/*.d.ts",
|
|
|
|
|
"src/**/*.tsx",
|
|
|
|
|
"src/**/*.vue", // 必须包含 Vue 文件
|
|
|
|
|
"vite.config.ts", // 包含 Vite 配置文件
|
|
|
|
|
"src/main.ts" // 包含入口文件
|
|
|
|
|
]
|
2025-06-09 10:23:45 +08:00
|
|
|
}
|