I was wondering if someone can help me. Im developing a PWA using Ionic + Angular and hosting it using Firebase. The fact is when i lose internet, ionic icons desapired... I can't figuered it out how to modify my ngsw-config.json to get it works..
Here is my Service Worker Configuration file
{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/assets/fonts/*",
"node_modules/videogular2/fonts/videogular.css",
"/index.html",
"/*.css",
"/*.js"
]
}
}, {
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
]
}
}
]
}