client/src/ngsw-config.json
{
"$schema": "../node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/index.html",
"/client/assets/images/icons/favicon.png",
"/client/*.css",
"/client/*.js",
"/manifest.webmanifest"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/client/assets/**"
]
}
}
]
}