fix: glob for emojis cache for pwa (#729)

This commit is contained in:
Vjacheslav Trushkin 2023-01-03 11:57:41 +02:00 committed by GitHub
parent 6729666170
commit 177df4aed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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