try PWA config again - erroring after transition

This commit is contained in:
adueck 2024-08-14 20:00:52 -04:00
parent bbdd7df067
commit eae6dac86a
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ export default defineConfig({
// globPatterns: ["**/*.(mp4|m4a)"], // globPatterns: ["**/*.(mp4|m4a)"],
globPatterns: ["*/*.*", "*.*"], globPatterns: ["*/*.*", "*.*"],
maximumFileSizeToCacheInBytes: 5242880, maximumFileSizeToCacheInBytes: 5242880,
cleanupOutdatedCaches: true,
}, },
includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"], includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"],
filename: "service-worker.js", filename: "service-worker.js",