From 545d62c400662c6dc92cf6e7bcb634411f430daf Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 19 Apr 2026 13:04:26 +0200 Subject: [PATCH] raise PWA precache limit so mapbox-gl bundle builds --- client/vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/vite.config.js b/client/vite.config.js index 64292ae3..8a5334b6 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -8,7 +8,7 @@ export default defineConfig({ VitePWA({ registerType: 'autoUpdate', workbox: { - maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, + maximumFileSizeToCacheInBytes: 10 * 1024 * 1024, globPatterns: ['**/*.{js,css,html,svg,png,woff,woff2,ttf}'], navigateFallback: 'index.html', navigateFallbackDenylist: [/^\/api/, /^\/uploads/, /^\/mcp/],