break serviceworkers

This commit is contained in:
David Reed 2022-09-15 18:08:01 -04:00
parent ada56b2317
commit 0bff4aacd2

View file

@ -1,5 +1,5 @@
importScripts('./uv.bundle.js');
importScripts('./uv.config.js');
// Users must import the config (and bundle) prior to importing uv.sw.js
// This is to allow us to produce a generic bundle with no hard-coded paths.
class UVServiceWorker extends EventEmitter {
constructor(config = __uv$config) {