Closed keith-waters closed 3 years ago
Thanks for the PR. Always good to be as generic as possible, and I think the async register function will only help in the future.
Not very familiar with the scriptUrl
, and in which scenarios you'd want to change it from the default value. Could you elaborate that a bit?
Will merge and push a new version to npm when when I find some time :)
With regards to scriptUrl
: I was able to change the service worker url locally during testing. (Our frontend and backend code are served on different ports in dev env)
Realized mapScriptUrl
will not work until service-worker-loader
is updated. Triple checking to make sure it works before adding it here. 😬 Thanks for your patience!
Thx! Rebased and rebuilt this, and merged in (see PR #19). Will also push the new version to NPM
This PR does a few things:
mapScriptUrl
toregister
service-worker-loader
node
dependency to dev dependenciesThanks for a great repo! It's allowing us to download images and zip images with only the browser. :)