Initial commit: Re-connected to Gitea
This commit is contained in:
25
packages/ui/tsconfig.json
Normal file
25
packages/ui/tsconfig.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"extends": "@tsconfig/vite-react/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
},
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"declaration": true, // 补充:生成类型声明文件,供其他子包引用
|
||||
"skipLibCheck": true, // 补充:跳过第三方库类型校验,避免冲突、提升速度
|
||||
"types": ["vite/client"]
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist",
|
||||
"vite.config.ts",
|
||||
"example/**/*",
|
||||
"scripts/**/*",
|
||||
".storybook/**/*",
|
||||
"stories/**/*"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user