From 2305c6e9070f25f7ee036f91e07bb988ecf51f26 Mon Sep 17 00:00:00 2001 From: Carter Date: Thu, 27 Feb 2025 12:26:46 -0600 Subject: [PATCH] increasing max file size for caching to 20MiB --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index f9eedfc..874b9dd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 }, }), ],