1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-12 21:30:27 +05:30

fix: Avoid unnecessary precaching (#2258)

This commit is contained in:
Shiny Nematoda 2024-03-13 17:47:41 +01:00 committed by GitHub
parent fd6e57df35
commit db6872f21d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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