From 3b0df1ddfe107b2d7e7797373767da0c9b65ab5b Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Wed, 19 Jul 2023 15:53:36 +0200 Subject: [PATCH] Use bigger glob pattern to include precachable static assets --- frontend/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 4c38d77..b4754bc 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -8,6 +8,9 @@ const config = { SvelteKitPWA({ registerType: 'autoUpdate', strategies: 'generateSW', + workbox: { + globPatterns: ['**/*.{js,ts,css,html}'], + }, manifest: { start_url: '/', background_color: "#213c8b",