ray-template/tsconfig.json
2024-03-23 11:25:28 +08:00

46 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/*"]
},
"suppressImplicitAnyIndexErrors": true,
"types": ["vite/client", "vitest/globals"],
"ignoreDeprecations": "5.0"
},
"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__/**/*"
]
}