mm
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
{
|
||||
"extends": "@tsconfig/vite-react/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
},
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"jsx": "react-jsx",
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"declaration": true, // 补充:生成类型声明文件,供其他子包引用
|
||||
"skipLibCheck": true, // 补充:跳过第三方库类型校验,避免冲突、提升速度
|
||||
"types": ["vite/client"]
|
||||
"declaration": true,
|
||||
"types": ["node", "react"]
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": [
|
||||
|
||||
Reference in New Issue
Block a user