feat: add external images to service worker caching #876

This commit is contained in:
Johannes Millan 2021-12-19 20:29:02 +01:00
parent 6a22577f04
commit 0a5b4aab61
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,14 @@
"/*.(otf|ttf|woff|woff2)"
]
}
},
{
"name": "externalAssets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"urls": ["**/*.(png|jpg|jpeg|gif)"]
}
}
],
"dataGroups": []