Closed coleshaw closed 1 year ago
Basically, I think this undoes this earlier commit, which seems to have used the old version of service-worker-loader
when building...
Thanks! Will try to test, merge and bump tonight.
Fixed this + updated some of the CI on master
. Also pushed the 2.0.1 version to npmjs.
Thanks for the suggestion!
Will also be trying to update some of the dependencies that have reported vulnerabilities.
This PR simply rebuilds the contents of the
dist
directory, bundling in the correctservice-worker-loader
version. You can inspect thedist/main.js
file and see that themapScriptUrl
function is correctly handled. Testing locally in my application,mapScriptUrl
is now called, and the service worker is correctly found and registered (apologies for the minification ... but you should be able to get the idea):Previously the
dist
code reflected the previousservice-worker-loader
behavior (v3?), which simply passed through the value:Also bumps the version to
2.0.1
-- if you merge this, could you also please make annpm
release? Thanks!