mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 07:03:00 +08:00
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node",
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"lib": ["ESNext", "DOM", "es5", "es6", "dom.iterable", "es2022"],
|
|
"skipLibCheck": true,
|
|
"baseUrl": "./",
|
|
"rootDir": "./",
|
|
"paths": {
|
|
"@": ["src"],
|
|
"@/*": ["src/*"],
|
|
"@use-utils": ["src/utils"],
|
|
"@use-utils/*": ["src/utils/*"],
|
|
"@use-api": ["src/api"],
|
|
"@use-api/*": ["src/api/*"],
|
|
"@use-images": ["src/assets/images"],
|
|
"@use-images/*": ["src/assets/images"],
|
|
"@use-micro/*": ["src/micro/*"],
|
|
"@mock/*": ["mock/*"],
|
|
"@mock": ["mock/*"]
|
|
},
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"typeRoots": ["./src/types/app.d.ts", "./src/types/global.d.ts"],
|
|
"types": ["vite/client"],
|
|
"ignoreDeprecations": "5.0"
|
|
},
|
|
"include": [
|
|
"vite.config.ts",
|
|
"vite-plugins/index.ts",
|
|
"vite-plugins/type.ts",
|
|
"cfg.ts",
|
|
"package.json",
|
|
"vite-env.d.ts",
|
|
"./unplugin/**/*",
|
|
"src/**/*",
|
|
"mock/**/*"
|
|
]
|
|
}
|