Skip to content

Commit 3643c61

Browse files
committed
[vite,config]: using react from @vitejs/plugin-react-swc, instead of @vitejs/plugin-react;
1 parent 309d3ff commit 3643c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)