From 0bff4aacd24b97a21b807fa0447017c0eab6e378 Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 15 Sep 2022 18:08:01 -0400 Subject: [PATCH] break serviceworkers --- src/uv.sw.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uv.sw.js b/src/uv.sw.js index 0759104..696bd3b 100644 --- a/src/uv.sw.js +++ b/src/uv.sw.js @@ -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) {