46 lines
943 B
JSON
46 lines
943 B
JSON
{
|
|
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
|
"index": "/index.html",
|
|
"assetGroups": [
|
|
{
|
|
"name": "app",
|
|
"installMode": "prefetch",
|
|
"resources": {
|
|
"files": [
|
|
"/favicon.ico",
|
|
"/favicon.svg",
|
|
"/index.csr.html",
|
|
"/index.html",
|
|
"/manifest.webmanifest",
|
|
"/*.css",
|
|
"/*.js"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "assets",
|
|
"installMode": "lazy",
|
|
"updateMode": "prefetch",
|
|
"resources": {
|
|
"files": [
|
|
"/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"dataGroups": [
|
|
{
|
|
"name": "fonts",
|
|
"urls": [
|
|
"https://fonts.googleapis.com/**",
|
|
"https://fonts.gstatic.com/**"
|
|
],
|
|
"cacheConfig": {
|
|
"maxSize": 20,
|
|
"maxAge": "30d",
|
|
"strategy": "performance"
|
|
}
|
|
}
|
|
]
|
|
}
|