From 70463552c5efd4f8919cdf331618b45bf1b0d446 Mon Sep 17 00:00:00 2001 From: Dolev Dublon <62290677+dolev146@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:41:45 +0200 Subject: [PATCH 1/2] Update vite.config.ts --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; From 25a1c39838c7401dd955dc3b8e159b46f079203e Mon Sep 17 00:00:00 2001 From: Dolev Dublon <62290677+dolev146@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:42:44 +0200 Subject: [PATCH 2/2] Update package.json --- package.json | 1 + 1 file changed, 1 insertion(+) 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",