mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
build: cache webp images
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user