increasing max file size for caching

This commit is contained in:
Carter 2025-02-27 12:21:48 -06:00
parent 707d44ead1
commit 34ead6ee9e
2 changed files with 4 additions and 3 deletions

View file

@ -12,6 +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
},
}),
],