refactor: project tsconfig & abstract infra type (#2721)

(cherry picked from commit 1ad2e629ac)
This commit is contained in:
Himself65
2023-06-08 12:41:47 +08:00
committed by himself65
parent 3d0da0a21f
commit 5f634eed21
14 changed files with 149 additions and 207 deletions

View File

@@ -1,8 +1,19 @@
{
"extends": "../../tsconfig.json",
"include": ["./src"],
"compilerOptions": {
"rootDir": "./src",
"types": ["electron"]
"noEmit": false,
"outDir": "lib"
},
"include": ["**.ts", "**.tsx"]
"references": [
{
"path": "../../packages/component"
},
{
"path": "../../packages/plugin-infra"
},
{
"path": "../../packages/env"
}
]
}