fix: remove unused emoji stuff (#727)

This commit is contained in:
Vjacheslav Trushkin 2023-01-03 11:42:05 +02:00 committed by GitHub
parent 6e12402987
commit 6092b27da6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 25 deletions

View file

@ -42,10 +42,8 @@ export const pwa: VitePWANuxtOptions = {
],
},
injectManifest: {
// fonts/seguiemj.ttf is 2.77 MB, and won't be precached
maximumFileSizeToCacheInBytes: 3000000,
globPatterns: ['**/*.{js,json,css,html,txt,svg,png,ico,webp,woff,woff2,ttf,eot,otf,wasm}'],
globIgnores: ['emojis/twemoji/*.svg'],
globIgnores: ['emojis/*'],
},
devOptions: {
enabled: process.env.VITE_DEV_PWA === 'true',