diff --git a/vite.config.js b/vite.config.js index 1cd37371..3b455b09 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,7 +21,13 @@ 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: [ {