You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The service-worker.js generated by vue cli includes workbox over an https link:
"https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js".
One of the reasons I use npm is that I don't want the end application to download scripts from everywhere on the internet.
Additionally for me the above behaviour makes development more difficult, since it happens quite often that I'm developing without having an internet connection. So then above include obviously doesn't work.
So if workbox would be included as npm module, that would be great :-).
What does the proposed API look like?
The api wouldn't change.
Just add workbox-sw dependency to pwa plugin.