Skip to content

Commit

Permalink
chore: 调整 tsconfig 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
yulimchen committed Feb 28, 2024
1 parent ad806ca commit 24eceb3
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 31 deletions.
8 changes: 0 additions & 8 deletions tsconfig.config.json

This file was deleted.

66 changes: 43 additions & 23 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,50 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"include": [
"env.d.ts",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"types/*.d.ts",
"vite.config.ts",
"build/**/*.ts",
],
"exclude": [
"node_modules",
"dist",
"**/*.js"
],
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": false,
"jsx": "preserve",
"importHelpers": true,
"experimentalDecorators": true,
"strictFunctionTypes": false,
"skipLibCheck": true,
"esModuleInterop": true,
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"baseUrl": ".",
"allowJs": false,
"resolveJsonModule": true,
"lib": [
"ESNext",
"DOM"
],
"paths": {
"@/*": ["./src/*"]
"@/*": [
"src/*"
],
"@build/*": [
"build/*"
]
},
"ignoreDeprecations": "5.0"
"types": [
"node",
"vite/client"
]
},

"references": [
{
"path": "./tsconfig.config.json"
}
"include": [
"mock/*.ts",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"typings/*.d.ts",
"vite.config.ts"
],
"exclude": [
"dist",
"**/*.js",
"node_modules"
]
}
}

0 comments on commit 24eceb3

Please sign in to comment.