From aaf8a9d4fcd88c12f1bc56e52b9ce5b936f67c7b Mon Sep 17 00:00:00 2001 From: Gigi Date: Sat, 18 Oct 2025 09:45:42 +0200 Subject: [PATCH] fix: increase PWA cache limit to 3 MiB for larger bundles --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index e8ed19a3..450a690f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -123,7 +123,8 @@ export default defineConfig({ }, injectManifest: { globPatterns: ['**/*.{js,css,html,ico,png,svg,webp}'], - globIgnores: ['**/_headers', '**/_redirects', '**/robots.txt'] + globIgnores: ['**/_headers', '**/_redirects', '**/robots.txt'], + maximumFileSizeToCacheInBytes: 3 * 1024 * 1024 // 3 MiB }, devOptions: { enabled: true,