From 65fccac7997f6b9f46566862ed5b3bd1fa35b197 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Mon, 4 Dec 2023 23:07:36 +0100 Subject: [PATCH] add more to workbox --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 7cfd1d4..866a9e1 100644 --- a/vite.config.js +++ b/vite.config.js @@ -12,7 +12,7 @@ const vitePWAconfiguration = { sourcemap: false, cleanupOutdatedCaches: true, globPatterns: [ - "**/*.{js,css,html,gif,png,json,woff,woff2,json,ogg,wav,mp3,ico,png,svg}", + "**/*.{js,js.gz,css,html,gif,png,json,woff,woff2,json,ogg,wav,mp3,ico,png,svg}", ], // Thanks Froos :) runtimeCaching: [