fix: PWA service worker auto-updates without hard refresh
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 19s
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 19s
This commit is contained in:
parent
234c6dff54
commit
9302841bae
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user