Files
Loma-PDF-Editor/vite.config.ts
chaloemphong ac91737c63 Initial commit: Loma PDF Editor with Coolify deploy setup
Browser-only PDF editor (React + Vite + pdf-lib + pdf.js + tesseract.js),
plus a multi-stage Dockerfile that builds the SPA and serves it from nginx
on port 80 with a /health endpoint for Coolify.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:20:18 +07:00

9 lines
251 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
build: { target: 'es2022', chunkSizeWarningLimit: 4000 },
optimizeDeps: { esbuildOptions: { target: 'es2022' } },
})