chore(*): Add workbox service worker

This commit is contained in:
Josh Creek
2024-04-14 16:03:01 +01:00
parent 7c0dec0cb4
commit 6712339640
24 changed files with 6414 additions and 139 deletions
+19 -7
View File
@@ -1,13 +1,25 @@
import 'vite-plugin-pwa/svelte';
import 'vite-plugin-pwa/info';
import 'vite-plugin-pwa/pwa-assets';
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
// and what to do when importing types
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
const __DATE__: string;
const __RELOAD_SW__: boolean;
namespace App {
// interface Error {}
interface Locals {
userid: string;
buildDate: string;
periodicUpdates: boolean;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};