Files
seedpgp-web/vite.config.ts
2026-01-28 12:28:10 +08:00

19 lines
399 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: '/seedpgp-web-app/', // Match your repo name
build: {
chunkSizeWarningLimit: 600, // Suppress warning
rollupOptions: {
output: {
manualChunks: {
'openpgp': ['openpgp'], // Separate chunk for PGP
}
}
}
}
})