ufutx-pc-website/tsconfig.node.json

48 lines
1.1 KiB
JSON
Raw Normal View History

2025-06-09 10:23:45 +08:00
{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"target": "ES2022",
"lib": [
"ES2022",
"DOM",
],
2025-06-10 18:48:41 +08:00
"baseUrl": "./",
"paths": {
"@/*": [
2025-06-10 18:48:41 +08:00
"src/*"
]
// 添加路径别名
},
2025-06-09 10:23:45 +08:00
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
"esModuleInterop": true,
// 关键:允许 CommonJS 导入
2025-06-09 10:23:45 +08:00
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// "erasableSyntaxOnlsy": true,
2025-06-09 10:23:45 +08:00
"noFallthroughCasesInSwitch": true,
"incremental": true
// "noUncheckedSideEffectImports": true
2025-06-09 10:23:45 +08:00
},
// "include": ["vite.config.ts"]
2025-06-09 17:10:41 +08:00
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
// 必须包含 Vue 文件
"vite.config.ts",
// 包含 Vite 配置文件
"src/main.ts"
// 包含入口文件
2025-06-09 17:10:41 +08:00
]
2025-06-09 10:23:45 +08:00
}