Skip to content

Commit b7c2fd8

Browse files
committed
fix: baseUrl in tsconfig.json leads fatal of tsx execution
1 parent 0173bdb commit b7c2fd8

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

builder/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"extends": "../tsconfig.json",
3-
"compilerOptions": {
4-
"baseUrl": "../../"
5-
},
63
"include": [
74
"source/**/*.ts",
85
"test/**/*.ts"

tsconfig.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
"alwaysStrict": false,
88
"skipLibCheck": true,
99
"paths": {
10-
"@builder/*": ["./builder/sources/*"],
11-
"@userscript/*": ["./userscript/sources/*"],
12-
"@root/*": ["./sources/*"],
10+
"@builder/*": ["./builder/source/*"],
11+
"@userscript/*": ["./userscript/source/*"],
12+
"@root/*": ["./source/*"],
1313
"@reporoot/*": ["./*"]
14-
},
15-
"baseUrl": "."
14+
}
1615
}
1716
}

userscript/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"extends": "../tsconfig.json",
3-
"compilerOptions": {
4-
"baseUrl": "../../"
5-
},
63
"include": [
74
"source/**/*.ts"
85
]

0 commit comments

Comments
 (0)