raise PWA precache limit so mapbox-gl bundle builds

This commit is contained in:
Maurice
2026-04-19 13:04:26 +02:00
parent f8542b4d87
commit 545d62c400
+1 -1
View File
@@ -8,7 +8,7 @@ export default defineConfig({
VitePWA({ VitePWA({
registerType: 'autoUpdate', registerType: 'autoUpdate',
workbox: { workbox: {
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, maximumFileSizeToCacheInBytes: 10 * 1024 * 1024,
globPatterns: ['**/*.{js,css,html,svg,png,woff,woff2,ttf}'], globPatterns: ['**/*.{js,css,html,svg,png,woff,woff2,ttf}'],
navigateFallback: 'index.html', navigateFallback: 'index.html',
navigateFallbackDenylist: [/^\/api/, /^\/uploads/, /^\/mcp/], navigateFallbackDenylist: [/^\/api/, /^\/uploads/, /^\/mcp/],