diff --git a/package.json b/package.json index 09cfe8b..0123de4 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "@vitejs/plugin-react": "^4.2.1", + "@vitejs/plugin-react-swc": "^3.6.0", "eslint": "^8.55.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", diff --git a/vite.config.ts b/vite.config.ts index db2e84f..7e1dac9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,6 @@ /// import * as path from 'path'; -import react from '@vitejs/plugin-react'; +import react from '@vitejs/plugin-react-swc'; import { defineConfig } from 'vite'; import { VitePWA } from 'vite-plugin-pwa';