Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

chore: tsconfig

This commit is contained in:
pany 2022-04-20 23:48:58 +08:00
parent 9ca9834608
commit f600209445
2 changed files with 6 additions and 3 deletions

View File

@ -16,4 +16,4 @@
"vite": "^2.9.5",
"vue-tsc": "^0.34.7"
}
}
}

View File

@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "esnext",
/** https://vitejs.cn/guide/features.html#typescript-compiler-options */
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
@ -8,13 +9,15 @@
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
/** https://vitejs.cn/guide/features.html#typescript-compiler-options */
"isolatedModules": true,
"esModuleInterop": true,
"lib": [
"esnext",
"dom"
],
"skipLibCheck": true
"skipLibCheck": true,
"types": ["vite/client"]
},
"include": [
"src/**/*.ts",
@ -23,4 +26,4 @@
"src/**/*.vue",
"vite.config.ts"
]
}
}