1
0

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: {
globPatterns: ['**/*.{js,json,css,html,txt,svg,png,ico,webp,woff,woff2,ttf,eot,otf,wasm}'],
globIgnores: ['emojis/*'],
globIgnores: ['emojis/**'],
},
devOptions: {
enabled: process.env.VITE_DEV_PWA === 'true',