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(),
|
tailwindcss(),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
|
workbox: {
|
||||||
|
skipWaiting: true,
|
||||||
|
clientsClaim: true,
|
||||||
|
},
|
||||||
includeAssets: ['favicon.svg', 'icons/*.png'],
|
includeAssets: ['favicon.svg', 'icons/*.png'],
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'We Talk',
|
name: 'We Talk',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user