Skip to content

Commit f09f3e7

Browse files
authored
refactor: vite-react plugin (#2714)
* refactor: vite-react plugin Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor: vite-react plugin Signed-off-by: Adam Setch <adam.setch@outlook.com> --------- Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent b4ddfe7 commit f09f3e7

4 files changed

Lines changed: 17 additions & 144 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"@types/react-dom": "19.2.3",
103103
"@types/react-router-dom": "5.3.3",
104104
"@types/semver": "7.7.1",
105-
"@vitejs/plugin-react-swc": "4.3.0",
105+
"@vitejs/plugin-react": "6.0.1",
106106
"@vitest/coverage-v8": "4.1.0",
107107
"@vitest/ui": "4.1.0",
108108
"clsx": "2.1.1",

pnpm-lock.yaml

Lines changed: 14 additions & 141 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { fileURLToPath } from 'node:url';
22

33
import twemoji from '@discordapp/twemoji';
44
import tailwindcss from '@tailwindcss/vite';
5-
import react from '@vitejs/plugin-react-swc';
5+
import react from '@vitejs/plugin-react';
66
import type { Plugin } from 'vite';
77
import { defineConfig } from 'vite';
88
import checker from 'vite-plugin-checker';

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import react from '@vitejs/plugin-react-swc';
1+
import react from '@vitejs/plugin-react';
22
import { defineConfig } from 'vitest/config';
33

44
export default defineConfig({

0 commit comments

Comments
 (0)