chore: use vite-swc-react (#5246)

This commit is contained in:
Sukka
2025-10-30 10:19:29 +08:00
committed by GitHub
parent 37359ffc27
commit dfcdb33e58
3 changed files with 138 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
import path from "node:path";
import legacy from "@vitejs/plugin-legacy";
import react from "@vitejs/plugin-react";
import react from "@vitejs/plugin-react-swc";
import monacoEditorPlugin, {
type IMonacoEditorOpts,
} from "vite-plugin-monaco-editor";