From cc019d0dd6d6e5e29578a5d67805885b77068415 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda <122038334+snematoda@users.noreply.github.com> Date: Sun, 26 Mar 2023 11:50:57 +0200 Subject: [PATCH] Avoid unnecessary precaching of favicons and lang --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 6ca7a174..5434a281 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,7 +21,7 @@ export default defineConfig({ VitePWA({ registerType: "autoUpdate", workbox: { - globPatterns: ["**/*.{js,css,html,ico,svg,png}", "manifest.webmanifest"], + globPatterns: ["**/*.{css,html}", "[A-Z]*.js", "index*.js", "shaka-player*.js", "manifest.webmanifest"], globIgnores: ["**/*-legacy-*.js"], runtimeCaching: [ {