mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 09:57:50 +08:00
19 lines
399 B
TypeScript
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
|