feat: 💥 新增tsconfig path映射

This commit is contained in:
zouzhibing 2022-12-04 22:09:49 +08:00
parent 014eee5584
commit 22cd6da835
1 changed files with 12 additions and 2 deletions

View File

@ -12,8 +12,18 @@
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
//
"skipLibCheck": true
"skipLibCheck": true,
//
"baseUrl": "./",
// baseUrl
"paths": {
"@": ["src"],
"@/*": ["src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [
{ "path": "./tsconfig.node.json" }
],
"exclude": ["node_modules","dist","**/*.js"]
}