bstlboard-front/ngsw-config.json

44 lines
856 B
JSON
Raw Normal View History

2021-10-04 14:23:40 +02:00
{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
2021-10-04 14:37:37 +02:00
"dataGroups": [
{
"name": "api",
"urls": [
"/api"
],
"cacheConfig": {
"maxSize": 0,
"maxAge": "0u",
"strategy": "freshness"
}
}
],
2021-10-04 14:23:40 +02:00
"assetGroups": [
{
"name": "app",
2021-10-07 15:27:07 +02:00
"installMode": "prefetch",
"updateMode": "lazy",
2021-10-04 14:23:40 +02:00
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/manifest.webmanifest",
"/*.css",
"/*.js"
]
}
},
{
"name": "assets",
2021-10-06 13:09:47 +02:00
"installMode": "prefetch",
2021-10-07 15:27:07 +02:00
"updateMode": "lazy",
2021-10-04 14:23:40 +02:00
"resources": {
"files": [
"/assets/**",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
]
}
}
]
2021-10-04 14:37:37 +02:00
}