fix: cache font file on-demand

This commit is contained in:
Nolan Lawson 2022-03-27 09:49:50 -07:00
parent de3a6b3aeb
commit 563b775a24
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ const assets = __assets__
.filter(filename => !filename.endsWith('.webapp')) // KaiOS manifest
.filter(filename => !/emoji-.*?\.json$/.test(filename)) // useless to cache; it already goes in IndexedDB
.filter(filename => !/screenshot-.*?\.png/.test(filename)) // only used during PWA installation, don't bother caching
.filter(filename => !/TwemojiCountryFlags\.woff2/.test(filename)) // cache on-demand
// `shell` is an array of all the files generated by webpack
// also contains '/index.html' for some reason