homefront/ngsw-config.json

31 lines
617 B
JSON
Raw Normal View History

2018-11-14 14:19:11 -05:00
{
2021-06-19 19:52:10 -04:00
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
2018-11-14 14:19:11 -05:00
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
2021-06-19 19:52:10 -04:00
"/favicon.ico",
2018-11-14 14:19:11 -05:00
"/index.html",
2021-06-19 19:52:10 -04:00
"/manifest.json",
2018-11-14 14:19:11 -05:00
"/*.css",
"/*.js"
]
}
2021-06-19 19:52:10 -04:00
},
{
2018-11-14 14:19:11 -05:00
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
2021-06-19 19:52:10 -04:00
"/assets/**",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
2018-11-14 14:19:11 -05:00
]
}
}
]
}