Skip to content

Commit

Permalink
update vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Jul 9, 2024
1 parent dfbc559 commit ded7867
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ export default defineConfig({
provider: "istanbul",
},
},
server: {
port: 3000,
},
resolve: {
alias: {
"@": path.resolve(__dirname),
},
alias: { "@": path.resolve(__dirname, "/src") },

Check failure on line 23 in vite.config.ts

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find name '__dirname'.

Check failure on line 23 in vite.config.ts

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find name '__dirname'.

Check failure on line 23 in vite.config.ts

View workflow job for this annotation

GitHub Actions / test/node 18/ubuntu-latest

Cannot find name '__dirname'.

Check failure on line 23 in vite.config.ts

View workflow job for this annotation

GitHub Actions / test/node 17/ubuntu-latest

Cannot find name '__dirname'.
},
});

0 comments on commit ded7867

Please sign in to comment.