fix: glob for emojis cache for pwa (#729)
This commit is contained in:
parent
6729666170
commit
177df4aed7
|
@ -43,7 +43,7 @@ export const pwa: VitePWANuxtOptions = {
|
||||||
},
|
},
|
||||||
injectManifest: {
|
injectManifest: {
|
||||||
globPatterns: ['**/*.{js,json,css,html,txt,svg,png,ico,webp,woff,woff2,ttf,eot,otf,wasm}'],
|
globPatterns: ['**/*.{js,json,css,html,txt,svg,png,ico,webp,woff,woff2,ttf,eot,otf,wasm}'],
|
||||||
globIgnores: ['emojis/*'],
|
globIgnores: ['emojis/**'],
|
||||||
},
|
},
|
||||||
devOptions: {
|
devOptions: {
|
||||||
enabled: process.env.VITE_DEV_PWA === 'true',
|
enabled: process.env.VITE_DEV_PWA === 'true',
|
||||||
|
|
Loading…
Reference in a new issue