-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWA: Pre-cache application assets #321
Comments
Hey @meganindya, I am unable to locate sw.js file in the codebase. |
We can first customise the Vite PWA config like this
We can the adjust the service worker. Does this approach seem appropriate @walterbender @meganindya |
Hi ,I encountered an issue where certain asset files generated during the build are not picked up by the PWA plugin. The provided precaching logic in the Vite configuration doesn't seem to include these assets. Could you please review and provide feedback on Pull Request #380? |
Hi, I’d like to work on this issue 🚀I have experience with HTML, CSS, and JavaScript, and I’m learning about service workers to implement caching strategies. Could you please guide me with:
Thank you! 😊 |
The following asset files are generated during the build but aren't picked up by the PWA plugin due to certain rules mentioned in https://vite-pwa-org.netlify.app/guide/static-assets.html.
We need to find a way to insert these into the
precacheAndRoute
list insw.js
so they can be cached for PWA/offline.The text was updated successfully, but these errors were encountered: