Open kmjennison opened 4 years ago
Hi @kmjennison, the commit is on the branch that I will integrate over the weekend following the release of wora/cache-persist.
Thanks for the contribution :)
Hi @kmjennison, today I have just released major changes to offline libraries. I have updated the sample projects and integrated your modification as well. https://github.com/morrys/offline-examples/pull/6
Let me know if you find any malfunctioning.
Thanks
The server.js should define the
/service-worker.js
path. Resolving it tojoin(__dirname, '.next', 'static', pathname)
worked for me here.Currently setting the service worker
generateInDevMode
totrue
in next.config.js fails to register the service worker.