diff --git a/vite.config.ts b/vite.config.ts index 2a75a289..b716243d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,15 +29,12 @@ export default defineConfig(() => ({ plugins: [ react(), VitePWA({ - registerType: 'autoUpdate', includeAssets: ['shakespeare.svg', 'shakespeare-192x192.png', 'shakespeare-512x512.png', 'sine.mp3'], manifest: false, // Use existing manifest.webmanifest from public folder workbox: { - globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2}'], + globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2,wasm,mp3}'], maximumFileSizeToCacheInBytes: 10 * 1024 * 1024, // 10 MB cleanupOutdatedCaches: true, - skipWaiting: true, - clientsClaim: true }, devOptions: { enabled: false,