refactor: path alias

fix: moehook
This commit is contained in:
linyuchen
2024-05-10 20:23:30 +08:00
parent 78bb36a2bb
commit 25c7a6096d
15 changed files with 116 additions and 131 deletions

View File

@@ -7,9 +7,27 @@
"esModuleInterop": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node"
"moduleResolution": "node",
// "sourceMap": true
"paths": {
"@/common/*": [
"./src/common/*"
],
"@/onebot11/*": [
"./src/onebot11"
],
"@/ntqqapi/*": [
"./src/ntqqapi/*"
]
}
},
"include": ["src/*", "src/**/*", "scripts/*"],
"exclude": ["node_modules"]
"include": [
"src/*",
"src/**/*",
"scripts/*"
],
"exclude": [
"node_modules"
],
}