Skip to content

Commit 0aa190c

Browse files
authored
Merge pull request #56 from maifeeulasad/vite-swc
vite swc
2 parents 1ea4a6f + 3643c61 commit 0aa190c

File tree

3 files changed

+140
-65
lines changed

3 files changed

+140
-65
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"@testing-library/jest-dom": "^5.17.0",
1111
"@testing-library/react": "^13.4.0",
1212
"@testing-library/user-event": "^13.5.0",
13-
"@vitejs/plugin-react": "^1.3.2",
1413
"@vitejs/plugin-react-refresh": "^1.3.6",
14+
"@vitejs/plugin-react-swc": "^3.9.0",
1515
"antd": "^5.24.9",
1616
"antd-crud-table": "^0.0.10",
1717
"copy-clipboard-js": "^2.1.1",

pnpm-lock.yaml

Lines changed: 138 additions & 63 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
@@ -1,7 +1,7 @@
11
/* eslint-disable */
22
import { defineConfig, type PluginOption } from 'vite';
33
import svgrPlugin from 'vite-plugin-svgr';
4-
import react from '@vitejs/plugin-react';
4+
import react from '@vitejs/plugin-react-swc';
55
import ViteVisualizer from 'rollup-plugin-visualizer';
66
import { VitePWA } from 'vite-plugin-pwa'
77
import { VitePluginRadar } from 'vite-plugin-radar';

0 commit comments

Comments
 (0)