mirror of
https://github.com/eondrcode/obsidian-manager.git
synced 2026-07-22 05:32:30 +00:00
将 tsconfig 的 module/moduleResolution 调整为 TypeScript 4.7 支持的 node16 模式,避免 release workflow 使用 lockfile 安装旧版 tsc 时无法识别 bundler。
36 lines
584 B
JSON
36 lines
584 B
JSON
{
|
|
"compilerOptions": {
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "Node16",
|
|
"target": "ES6",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node16",
|
|
"paths": {
|
|
"main": [
|
|
"./src/main"
|
|
],
|
|
"src/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": [
|
|
"DOM",
|
|
"ES5",
|
|
"ES6",
|
|
"ES7",
|
|
"ES2021"
|
|
]
|
|
},
|
|
"include": [
|
|
"**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"参考/**"
|
|
]
|
|
}
|