diff --git a/vite.config.ts b/vite.config.ts index 9ffcc67..75a9638 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 + } + } + } + } }) +