Skip to content

Commit be8274f

Browse files
committed
feat: add folder path alias (#2)
1 parent 5a703a9 commit be8274f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"resolveJsonModule": true,
1515
"isolatedModules": true,
1616
"noEmit": true,
17-
"jsx": "react-jsx"
17+
"jsx": "react-jsx",
18+
"paths": { "@/*": ["./src/*"] }
1819
},
1920
"include": ["src"],
2021
"references": [{ "path": "./tsconfig.node.json" }]

0 commit comments

Comments
 (0)