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

zio/stable
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
1 changed files with 1 additions and 1 deletions

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