mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 03:42:57 +08:00
chore: 迁移types文件夹并移除别名
This commit is contained in:
parent
5edf21b1ed
commit
9c15ec8ae0
|
@ -11,10 +11,10 @@
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["src/*"],
|
"@/*": ["src/*"]
|
||||||
"#/*": ["types/*"]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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
|
"compileOnSave": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@ export default ({ mode }: ConfigEnv): UserConfig => {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.resolve(__dirname, './src'),
|
'@': path.resolve(__dirname, './src'),
|
||||||
'#': path.resolve(__dirname, './types'),
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user