Skip to content

Commit

Permalink
Update to Vite 6, add workaround Tabler Icons bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SBence committed Dec 1, 2024
1 parent ad1db9b commit b885574
Show file tree
Hide file tree
Showing 4 changed files with 334 additions and 401 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ updates:
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]

- dependency-name: "@tabler/icons-react"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@mantine/form": "^7.14.3",
"@mantine/hooks": "^7.14.3",
"@mantine/notifications": "^7.14.3",
"@tabler/icons-react": "~3.18.0",
"@tabler/icons-react": "^3.18.0",
"jotai": "^2.10.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand All @@ -38,7 +38,7 @@
"prettier": "^3.4.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"vite": "^5.4.11",
"vite": "^6.0.1",
"vite-tsconfig-paths": "^5.1.3"
}
}
7 changes: 6 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [tsconfigPaths(), react()],
resolve: {
alias: {
"@tabler/icons-react": "@tabler/icons-react/dist/esm/icons/index.mjs",
},
},
});
Loading

0 comments on commit b885574

Please sign in to comment.