chore: 迁移types文件夹并移除别名

This commit is contained in:
悠静萝莉 2022-06-23 14:07:35 +08:00
parent 5edf21b1ed
commit 9c15ec8ae0
No known key found for this signature in database
GPG Key ID: 4EDF1CA1CEA8EBCC
4 changed files with 3 additions and 4 deletions

View File

@ -11,10 +11,10 @@
"noEmit": true,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"],
"#/*": ["types/*"]
"@/*": ["src/*"]
}
},
"include": ["**/*.ts", "src/**/*.d.ts","types/**/*.d.ts", "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"include": ["**/*.ts", "src/**/*.d.ts",
"src/types/**/*.d.ts", "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"compileOnSave": false
}

View File

@ -16,7 +16,6 @@ export default ({ mode }: ConfigEnv): UserConfig => {
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'#': path.resolve(__dirname, './types'),
},
},