feat: add config to resolve path alias.

This commit is contained in:
kunkka 2020-10-18 19:28:33 +08:00
parent bce09351cd
commit 06d40f965a

14
jsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
// @
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
"target": "ES6",
"module": "commonjs",
"allowSyntheticDefaultImports": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}