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",