Skip to content

Commit 145f1d1

Browse files
committed
fix(config): add baseUrl for swc configs
1 parent 15d8813 commit 145f1d1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.swcrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"parser": {
88
"syntax": "typescript",
99
},
10+
"baseUrl": ".",
1011
"paths": {
1112
"@/*": [
1213
"./src/*"

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const swcConfig = {
1111
parser: {
1212
syntax: 'typescript',
1313
},
14+
baseUrl: '.',
1415
paths: {
1516
'@/*': ['./src/*'],
1617
},

0 commit comments

Comments
 (0)