fix(pwa): completely destroy service worker cache and fix chunk load errors to stop freezing

This commit is contained in:
2026-02-26 11:05:43 -05:00
parent 82a2c1d903
commit 86726e3dfc
3 changed files with 11 additions and 8 deletions

View File

@ -11,6 +11,7 @@ export default defineConfig(() => {
vue(),
tailwindcss(),
VitePWA({
selfDestroying: true,
registerType: 'autoUpdate',
includeAssets: ['icon-192.png', 'icon-512.png', 'icon-1024.png', 'favicon.ico'],
manifest: {