next-pwa icon indicating copy to clipboard operation
next-pwa copied to clipboard

Workbox plugin support

Open jadbox opened this issue 4 years ago • 2 comments

I'm looking to use the Workbox RangeRequestsPlugin, but it doesn't seem plugins are supported. I did find the below issue, but it was only solved by using a custom service-worker (which I'm not even sure how to do that with next-pwa properly).

Related: https://github.com/shadowwalker/next-pwa/issues/174

Thank you!

jadbox avatar Aug 05 '21 03:08 jadbox

Related https://github.com/GoogleChrome/workbox/issues/2809#issuecomment-880208769

shadowwalker avatar Aug 06 '21 05:08 shadowwalker

I added support range requests by default in [email protected]: https://github.com/shadowwalker/next-pwa/blob/4e7c1020f5c691b42f73ba15a3f96db2bae15115/cache.js#L64

Can you test if it works for you?

shadowwalker avatar Aug 16 '21 05:08 shadowwalker