diff --git a/vite.config.ts b/vite.config.ts index 8f94dae..1111bb3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -43,7 +43,10 @@ export default defineConfig({ }, workbox: { globPatterns: ['**/*.{js,css,html,ico,png,svg,webp,webm}'], - maximumFileSizeToCacheInBytes: 10 * 1024 * 1024 + maximumFileSizeToCacheInBytes: 10 * 1024 * 1024, + cleanupOutdatedCaches: true, + skipWaiting: true, + clientsClaim: true, } }) ],