adjust pwa

This commit is contained in:
adueck 2024-05-13 20:44:12 -04:00
parent f1ae0289f9
commit 7303588df2
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ export default defineConfig({
}),
VitePWA({
workbox: {
globPatterns: ["**/*.(mp4|m4a)"],
// globPatterns: ["**/*.(mp4|m4a)"],
globPatterns: ["*/*.*", "*.*"],
maximumFileSizeToCacheInBytes: 5242880,
},
includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"],