将原本分散在多个文件中的TreeNode和Template类型定义集中到src/types模块中,并更新所有相关引用 修改tsconfig配置以包含新的types目录 优化IPCs中模板处理逻辑,改进文件复制和路径处理
25 lines
494 B
JSON
25 lines
494 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"jsx": "preserve",
|
|
"composite": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": [
|
|
"src/main",
|
|
"src/preload",
|
|
"src/types",
|
|
"package.json",
|
|
"eslint.config.ts",
|
|
"vite.config.mts",
|
|
"buildAssets/builder",
|
|
"tests/**/*.ts",
|
|
"tests/**/*.mts",
|
|
"tests/**/*.spec.ts"
|
|
]
|
|
}
|