Parcel upgrade and global dependency update

This commit is contained in:
Zef Hemel
2022-06-13 13:06:53 +02:00
parent 254a2e0736
commit 24ac6bbd25
12 changed files with 1680 additions and 1831 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { manifest, version } from "@parcel/service-worker";
async function install() {
const cache = await caches.open(version);
// console.log("Installing", manifest, "version", version);
await cache.addAll(manifest);
await cache.addAll([...manifest, "/global.plug.json"]);
// @ts-ignore
self.skipWaiting(); // This automatically enables the service worker, preventing from caching stuff forever if there's a page open
// console.log("Installed");