Skip to content

Commit

Permalink
reflector: Optimize alias
Browse files Browse the repository at this point in the history
  • Loading branch information
luckfunc committed Aug 11, 2024
1 parent f48aa8e commit acdda26
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ export default defineConfig({
alias: {
'@': '/src',
'@assets': '/src/assets',
'@assets/*': '/src/assets/*',
'assets/*': '/src/assets/*',
'@utils': '/src/utils',
'@utils/*': '/src/utils/*',
'@hooks': '/src/hooks',
'@hooks/*': '/src/hooks/*',
'@components': '/src/components',
'@components/*': '/src/components/*',
'@constants': '/src/constants',
'@constants/*': '/src/constants/*',
'@types': '/src/types',
'@types/*': '/src/types/*',
'@layouts': '/src/layouts',
'@layouts/*': '/src/layouts/*',
'@store': '/src/store',
'@store/*': '/src/store/*',
'@enums': '/src/enums',
'@enums/*': '/src/enums/*',
}
}
})

0 comments on commit acdda26

Please sign in to comment.