fix: increase PWA cache limit to 3 MiB for larger bundles

This commit is contained in:
Gigi
2025-10-18 09:45:42 +02:00
parent efa6d13726
commit aaf8a9d4fc

View File

@@ -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,