mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-14 20:28:01 +00:00
feat: add config to resolve path alias. (#13)
This commit is contained in:
parent
bce09351cd
commit
a2e901802c
1 changed files with 14 additions and 0 deletions
14
jsconfig.json
Normal file
14
jsconfig.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
// 支持 @ 的别名解析
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
},
|
||||
"target": "ES6",
|
||||
"module": "commonjs",
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue