- From: Jon Nyman <notifications@github.com>
- Date: Sat, 20 Jun 2026 18:25:35 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 21 June 2026 01:25:39 UTC
jon49 left a comment (w3c/ServiceWorker#1585) I use `new Function` to get around this limitation. It will be nice when this feature ships so I can remove my custom code. It isn't a lot of code that is required to get around this limitation, so it's not a huge deal. But it is nice have more of a proper way to work around it. https://github.com/jon49/jon49-sw/blob/590c284b63a5cf2bbb8f87e8ccc8388eccf260ca/lib/routes.middleware.ts#L90 -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1585#issuecomment-4760541622 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1585/4760541622@github.com>
Received on Sunday, 21 June 2026 01:25:39 UTC