fix: PWA service worker auto-updates without hard refresh
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 19s

This commit is contained in:
ordinarthur 2026-04-12 13:41:58 +02:00
parent 234c6dff54
commit 9302841bae

View File

@ -9,6 +9,10 @@ export default defineConfig({
tailwindcss(),
VitePWA({
registerType: 'autoUpdate',
workbox: {
skipWaiting: true,
clientsClaim: true,
},
includeAssets: ['favicon.svg', 'icons/*.png'],
manifest: {
name: 'We Talk',