build: cache webp images

This commit is contained in:
Jixun Wu 2023-12-23 15:59:28 +00:00
parent 3723190d42
commit 8abf8015d0
1 changed files with 1 additions and 1 deletions

View File

@ -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',