Closed userquin closed 1 year ago
just adding the closeBundle
hook here https://github.com/userquin/vite-pwa-vitepress-integration/blob/main/src/index.ts#L40, checking for api and mpa and calling api.generateSW()
should work
Mpa support in vitepress seems to be broken...
not working in pwa-prompt example, there is no client build!
EDIT: we should check if adding a custom plugin removing the ssr check (on pwa build plugin) works (it should work: we're getting the api reference using mpa flag)