adjust pwa

This commit is contained in:
adueck 2024-05-13 20:40:33 -04:00
parent 0634c3a146
commit f1ae0289f9
1 changed files with 1 additions and 3 deletions

View File

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