increasing max file size for caching to 20MiB

This commit is contained in:
Carter 2025-02-27 12:26:46 -06:00
parent 34ead6ee9e
commit 2305c6e907

View file

@ -12,7 +12,7 @@ export default defineConfig({
registerType: 'autoUpdate', // Automatically updates the service worker when a new version is available
workbox: {
globPatterns: ['**/*.{js,css,html,png,jpg,svg}'], // Cache all common asset types
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, // 5 MiB
maximumFileSizeToCacheInBytes: 20 * 1024 * 1024, // 20 MiB
},
}),
],