Skip to content

Commit

Permalink
Swap out @vitejs/plugin-react for the -swc variant
Browse files Browse the repository at this point in the history
This should make the build and dev server a bit faster, still.
  • Loading branch information
JulianKniephoff committed Jun 3, 2024
1 parent 18ccec9 commit bd19162
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 91 deletions.
295 changes: 206 additions & 89 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@types/lodash": "^4.17.4",
"@types/node": "^20.13.0",
"@types/uuid": "^9.0.8",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"prop-types": "^15.8.1",
"sass": "^1.77.4",
"typescript": "^5.4.5",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import react from "@vitejs/plugin-react-swc";
import svgr from "vite-plugin-svgr";
import viteTsconfigPaths from "vite-tsconfig-paths";

Expand Down

0 comments on commit bd19162

Please sign in to comment.