将原本分散在多个文件中的TreeNode和Template类型定义集中到src/types模块中,并更新所有相关引用 修改tsconfig配置以包含新的types目录 优化IPCs中模板处理逻辑,改进文件复制和路径处理
29 lines
657 B
JSON
29 lines
657 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"outDir": "./dist",
|
|
"target": "esnext",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"jsx": "preserve",
|
|
"noImplicitAny": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"declaration": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"lib": ["esnext", "dom"]
|
|
},
|
|
"include": ["src/*.ts", "src/*.d.ts", "src/renderer", "src/renderer/auto-imports.d.ts", "src/types"],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.node.json"
|
|
}
|
|
]
|
|
}
|