Avoid unnecessary precaching of favicons and lang

This commit is contained in:
Shiny Nematoda 2023-03-26 11:50:57 +02:00 committed by GitHub
parent bfd859ebe7
commit cc019d0dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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