feat: move to vite for faster builld

This commit is contained in:
ckt1031
2023-07-15 21:41:23 +08:00
parent caabdd1e21
commit 4e94c85a9a
63 changed files with 411 additions and 16907 deletions

11
web/vite.config.js Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
outDir: 'build',
minify: 'terser',
},
})