From eae6dac86aef9772dffcf3e61af9d5433cf613eb Mon Sep 17 00:00:00 2001 From: adueck Date: Wed, 14 Aug 2024 20:00:52 -0400 Subject: [PATCH] try PWA config again - erroring after transition --- website/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/website/vite.config.ts b/website/vite.config.ts index 5de0670..f9c1cc4 100644 --- a/website/vite.config.ts +++ b/website/vite.config.ts @@ -11,6 +11,7 @@ export default defineConfig({ // globPatterns: ["**/*.(mp4|m4a)"], globPatterns: ["*/*.*", "*.*"], maximumFileSizeToCacheInBytes: 5242880, + cleanupOutdatedCaches: true, }, includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"], filename: "service-worker.js",