From 276c4f5dfebb954310fe32f9e143dbc0b6efe3db Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 31 Mar 2024 22:35:39 +0800 Subject: [PATCH] :bento: Modify cache glob --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 9430e20..4945b75 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,7 +37,8 @@ export default defineConfig({ }, workbox: { sourcemap: true, - cleanupOutdatedCaches: true + cleanupOutdatedCaches: true, + globPatterns: ['**/*.{js,css,ico,png,svg}'], } }) ],