This commit is contained in:
2026-11-29 07:30:49 +08:00
parent ea56e4cabd
commit 0026089761
71 changed files with 8054 additions and 1428 deletions
+15
View File
@@ -0,0 +1,15 @@
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
import babel from '@rolldown/plugin-babel'
import { defineConfig } from 'vite'
// https://vite.dev/config/
export default defineConfig({
devtools: {
// Remove this `apply` property to enable devtools for build as well
apply: 'serve',
},
plugins: [
react(),
babel({ presets: [reactCompilerPreset()] })
],
})