chore: update config

This commit is contained in:
robin 2022-09-28 18:25:30 +08:00
parent 32bd645920
commit c53a5bf357
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module.exports = {
'@answer/hooks': path.resolve(__dirname, 'src/hooks'),
'@answer/utils': path.resolve(__dirname, 'src/utils'),
'@answer/common': path.resolve(__dirname, 'src/common'),
'@answer/services': path.resolve(__dirname, 'src/services'),
'@answer/api': path.resolve(__dirname, 'src/services/api'),
};
return config;

View File

@ -25,6 +25,7 @@
"@answer/components/*": ["src/components/*"],
"@answer/stores": ["src/stores"],
"@answer/stores/*": ["src/stores/*"],
"@answer/api": ["src/services/api.ts"],
"@answer/services/*": ["src/services/*"],
"@answer/hooks": ["src/hooks"],
"@answer/common": ["src/common"],