From f194dfd13555593600a29e28ccc23c06335dec27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 23 Dec 2023 15:59:28 +0000 Subject: [PATCH] build: cache webp images --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 4db3e5e..939cd47 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -57,7 +57,7 @@ export default defineConfig({ registerType: 'prompt', workbox: { // Cache everything from dist - globPatterns: ['**/*.{js,css,html,ico,png,svg,wasm}'], + globPatterns: ['**/*.{js,css,html,ico,png,svg,wasm,webp}'], }, manifest: { display: 'standalone',