webpack-contrib / worker-loader

A webpack loader that registers a script as a Web Worker
MIT License
1.46k stars 273 forks source link

docs don't explain how to register ServiceWorker #297

Closed akosyakov closed 4 years ago

akosyakov commented 4 years ago

Documentation Is:

Please Explain in Detail...

One has to call navigator.serviceWorker.register at some point with the specific script URL. Is it done by this loader automatically? What import actually does? Clarification would be helpful.

Your Proposal for Changes

alexander-akait commented 4 years ago

Sorry it is out of scope loader, please use mdn we just return web worker