TanStackT
TanStack5mo ago
29 replies
hurt-tomato

vite-pwa plugin does not work in production builds

dev-sw.js works, but the core issue is that sw.js doesn't get built in prod output.

is that possible that rollup might be causing the issue? if so, how to ignore that during the build.

here's my repo with a workaround:
https://github.com/kulterryan/tanstack-start-pwa
GitHub
Contribute to kulterryan/tanstack-start-pwa development by creating an account on GitHub.
GitHub - kulterryan/tanstack-start-pwa
Was this page helpful?