This commit is contained in:
Shiny Nematoda 2023-03-26 21:33:43 +05:30 committed by GitHub
parent ba7d93be1f
commit b3ea4959a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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