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: [ {