ray-template/tsconfig.json
2024-12-07 01:04:16 +08:00

44 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"newLine": "LF",
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM", "es5", "es6", "dom.iterable", "es2022"],
"skipLibCheck": true,
"jsxImportSource": "vue",
"baseUrl": "./",
"paths": {
"@": ["src"],
"@/*": ["src/*"],
"@api": ["src/api"],
"@api/*": ["src/api/*"],
"@images": ["src/assets/images"],
"@images/*": ["src/assets/images"],
"@use-micro/*": ["src/micro/*"],
"@mock/*": ["mock/*"],
"@mock": ["mock/*"]
},
"types": ["vite/client", "vitest/globals", "naive-ui/volar"]
},
"include": [
"vite.config.ts",
"vite-helper/index.ts",
"vite-helper/types.ts",
"vite.custom.config.ts",
"package.json",
"vite-env.d.ts",
"./unplugin/**/*",
"src/**/*",
"mock/**/*",
"__test__/**/*"
]
}