This commit is contained in:
David Reed 2022-12-03 15:54:45 -05:00
parent 67fd1bce6a
commit 9f60e73b5a
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F

View file

@ -1,4 +1,10 @@
/*global UVServiceWorker*/
/*
* Stock service worker script.
* Users can provide their own sw.js if they need to extend the functionality of the service worker.
* Ideally, this will be registered under the scope in uv.config.js so it will not need to be modified.
* However, if a user changes the location of uv.bundle.js/uv.config.js or sw.js is not relative to them, they will need to modify this script locally.
*/
importScripts('uv.bundle.js');
importScripts('uv.config.js');
importScripts('uv.sw.js');