diff --git a/vite.config.js b/vite.config.js index 2a0207b5..10c9b39b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,7 +21,13 @@ 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: [ {