Re: [w3c/ServiceWorker] Feature detection for type="module" support (#1582)

Epic 😄  It's good to have that to refer folks to if they want to use ES modules _today_ and also want to avoid a potential double-download. Long-term, is a more official mechanism for detecting support reasonable to add to the service worker specification?

Actually, since [ES modules in dedicated workers](https://chromestatus.com/feature/5761300827209728) are already supported in Chrome and Safari, how do developers using them deal with what I'm assuming is a similar issue? Perhaps a way of feature-detecting support needs to be done on the `WorkerGlobalScope` level, to address that use case as well?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1582#issuecomment-820521046

Received on Thursday, 15 April 2021 15:30:39 UTC