Skip to content

Commit

Permalink
Use ./ in vite aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamalama committed Jan 26, 2024
1 parent b55e0c9 commit 08f0b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default defineConfig({
},
resolve: {
alias: {
'@src': path.resolve(__dirname, '/src'),
'@test': path.resolve(__dirname, '/test')
'@src': path.resolve(__dirname, './src'),
'@test': path.resolve(__dirname, './test')
}
},
build: {
Expand Down

0 comments on commit 08f0b26

Please sign in to comment.