Merge pull request #1032 from tidalcycles/font-caching
add font file types to offline cache
This commit is contained in:
commit
1e8a3c2918
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export default defineConfig({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
injectRegister: 'auto',
|
injectRegister: 'auto',
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg}'],
|
globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg,ttf,woff2,TTF,otf}'],
|
||||||
runtimeCaching: [
|
runtimeCaching: [
|
||||||
{
|
{
|
||||||
urlPattern: ({ url }) =>
|
urlPattern: ({ url }) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue