update vite.config.ts

This commit is contained in:
LC mac
2026-01-28 12:28:10 +08:00
parent b2be6d381c
commit 24f50014af

View File

@@ -3,4 +3,16 @@ 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
}
}
}
}
})