You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
|
|
|
"index": "/index.html",
|
|
|
|
"assetGroups": [
|
|
|
|
{
|
|
|
|
"name": "app",
|
|
|
|
"installMode": "prefetch",
|
|
|
|
"resources": {
|
|
|
|
"files": [
|
|
|
|
"/favicon.ico",
|
|
|
|
"/index.html",
|
|
|
|
"/manifest.webmanifest",
|
|
|
|
"/*.css",
|
|
|
|
"/*.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "assets",
|
|
|
|
"installMode": "lazy",
|
|
|
|
"updateMode": "prefetch",
|
|
|
|
"resources": {
|
|
|
|
"files": [
|
|
|
|
"/assets/**",
|
|
|
|
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dataGroups": [
|
|
|
|
{
|
|
|
|
"urls": [
|
|
|
|
"/data/**/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
|
|
|
|
],
|
|
|
|
"cacheConfig": {
|
|
|
|
"maxSize": 250,
|
|
|
|
"maxAge": "7d"
|
|
|
|
},
|
|
|
|
"name": "userDefinedResources"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|