build: cache webp images
This commit is contained in:
parent
7e741412a8
commit
f194dfd135
@ -57,7 +57,7 @@ export default defineConfig({
|
|||||||
registerType: 'prompt',
|
registerType: 'prompt',
|
||||||
workbox: {
|
workbox: {
|
||||||
// Cache everything from dist
|
// Cache everything from dist
|
||||||
globPatterns: ['**/*.{js,css,html,ico,png,svg,wasm}'],
|
globPatterns: ['**/*.{js,css,html,ico,png,svg,wasm,webp}'],
|
||||||
},
|
},
|
||||||
manifest: {
|
manifest: {
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
|
Loading…
Reference in New Issue
Block a user