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 25663ab commit 89219e9
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 417 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/core": "^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",
"clsx": "^2.1.1",
"jotai": "^2.10.3",
"markdown-to-jsx": "^7.7.0",
Expand All @@ -42,7 +42,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"
}
}
10 changes: 4 additions & 6 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ import tsconfigPaths from "vite-tsconfig-paths";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [tsconfigPaths(), react()],
/* css: {
preprocessorOptions: {
scss: {
additionalData: `@import "./src/_mantine";`,
},
resolve: {
alias: {
"@tabler/icons-react": "@tabler/icons-react/dist/esm/icons/index.mjs",
},
}, */
},
});
Loading

0 comments on commit 89219e9

Please sign in to comment.