2026-03-03 04:24:11 +08:00
|
|
|
{
|
|
|
|
|
"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": "react-jsx",
|
|
|
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
|
"strict": true,
|
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
|
|
|
|
|
/* Path mapping */
|
|
|
|
|
"baseUrl": ".",
|
|
|
|
|
"paths": {
|
|
|
|
|
"@/*": ["./src/*"],
|
|
|
|
|
"@api/*": ["./src/api/*"],
|
|
|
|
|
"@components/*": ["./src/components/*"],
|
|
|
|
|
"@utils/*": ["./src/utils/*"],
|
|
|
|
|
"@styles/*": ["./src/styles/*"],
|
|
|
|
|
"@assets/*": ["./src/assets/*"]
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-03-24 06:12:03 +08:00
|
|
|
"include": [
|
|
|
|
|
"src",
|
|
|
|
|
"e2e",
|
|
|
|
|
"vite-env.d.ts",
|
|
|
|
|
"vitest-env.d.ts",
|
|
|
|
|
"vitest.setup.ts"
|
|
|
|
|
],
|
2026-03-03 04:24:11 +08:00
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
|
|
|
}
|