Skip to content

Commit 9180158

Browse files
committed
fix(ci): 添加根目录 tsconfig.json 以支持路径别名解析
1 parent 189286d commit 9180158

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tsconfig.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"module": "ESNext",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"esModuleInterop": true,
8+
"skipLibCheck": true,
9+
"resolveJsonModule": true,
10+
"declaration": true,
11+
"declarationMap": true,
12+
"sourceMap": true,
13+
"baseUrl": ".",
14+
"paths": {
15+
"@configs/*": ["configs/*"]
16+
}
17+
},
18+
"include": ["configs/**/*.ts", "scripts/**/*.ts"],
19+
"exclude": ["node_modules", "dist", "**/dist/**"]
20+
}

0 commit comments

Comments
 (0)