Skip to content

Commit

Permalink
Merge pull request #32 from hytech-racing/load-times
Browse files Browse the repository at this point in the history
fixed load times
  • Loading branch information
ryanlau authored Oct 16, 2024
2 parents 3631b33 + 853c704 commit 1fc984e
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 12 deletions.
47 changes: 38 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"@mantine/dates": "^7.13.1",
"@mantine/form": "^7.13.1",
"@mantine/hooks": "^7.13.1",
"@tabler/icons-react": "^3.19.0",
"@tabler/icons-react": "3.17.0",
"dayjs": "^1.11.13",
"i": "^0.3.7",
"icons-react": "^3.7.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"recharts": "^2.12.7"
Expand Down Expand Up @@ -53,7 +55,7 @@
"storybook": "^8.3.4",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"vite": "^5.4.1"
"vite": "5.4.8"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
Expand Down
4 changes: 3 additions & 1 deletion src/components/PreviewCard.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from "react";
import { Text, Button, Grid, Menu, rem } from "@mantine/core";
import { IconDownload, IconChevronDown, IconFile } from "@tabler/icons-react";
import { IconDownload } from "@tabler/icons-react";
import { IconChevronDown } from "@tabler/icons-react";
import { IconFile } from "@tabler/icons-react";
import "@/css/PreviewCard.css";

function PreviewCard() {
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
optimizeDeps: {
include: ["@tabler/icons-react"],
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
Expand Down

0 comments on commit 1fc984e

Please sign in to comment.