vite-plugin-pwa
vite-plugin-pwa copied to clipboard
feat(client): add on begin update hooks
Add onBeginUpdate
hooks when a new service worker is found and is being installed but not yet completed.
closes #620
Deploy Preview for vite-plugin-pwa-legacy ready!
Name | Link |
---|---|
Latest commit | 0c777f8bf377f009f50b3d2a231343075e916373 |
Latest deploy log | https://app.netlify.com/sites/vite-plugin-pwa-legacy/deploys/657f19aec5c4e60008f2483f |
Deploy Preview | https://deploy-preview-623--vite-plugin-pwa-legacy.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
can you add it to an example (don't use sveltekit, it is deprecated in this repo)?
Done
I'm going to do some tests (no idea when I'll have some free time) and maybe adding a new experimental option to use a new built-in workbox-window
exposing the updatefound
event, Workbox
repo is dead, just a few updates in last years.