feat: add vite.config.ts

This commit is contained in:
cupadev-admin 2026-03-08 17:14:28 +00:00
parent 89c5d93701
commit 6653e98824
1 changed files with 15 additions and 0 deletions

15
vite.config.ts Normal file
View File

@ -0,0 +1,15 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
open: true,
},
build: {
outDir: 'dist',
sourcemap: false,
minify: 'terser',
},
});