Import apps/server/web/vite.config.ts

This commit is contained in:
QQ 2026-11-14 14:31:18 +08:00
parent 7c413da8f2
commit e9185c1e11
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { fileURLToPath } from 'node:url'
export default defineConfig({
root: fileURLToPath(new URL('.', import.meta.url)),
plugins: [react()],
build: { outDir: '../dist/public', emptyOutDir: true, chunkSizeWarningLimit: 1200 },
})