diff --git a/vite.config.js b/vite.config.js index 5434a281..2a0207b5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,7 +21,7 @@ export default defineConfig({ VitePWA({ registerType: "autoUpdate", workbox: { - globPatterns: ["**/*.{css,html}", "[A-Z]*.js", "index*.js", "shaka-player*.js", "manifest.webmanifest"], + globPatterns: ["**/*.{css,html}", "**/[A-Z]*.js", "**/index*.js", "**/shaka-player*.js", "manifest.webmanifest"], globIgnores: ["**/*-legacy-*.js"], runtimeCaching: [ {