30 lines
620 B
JSON
30 lines
620 B
JSON
|
{
|
||
|
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
||
|
"index": "/index.html",
|
||
|
"assetGroups": [
|
||
|
{
|
||
|
"name": "app",
|
||
|
"installMode": "prefetch",
|
||
|
"resources": {
|
||
|
"files": [
|
||
|
"/favicon.ico",
|
||
|
"/index.html",
|
||
|
"/*.css",
|
||
|
"/*.js",
|
||
|
"/manifest.webmanifest"
|
||
|
]
|
||
|
}
|
||
|
}, {
|
||
|
"name": "assets",
|
||
|
"installMode": "lazy",
|
||
|
"updateMode": "prefetch",
|
||
|
"resources": {
|
||
|
"files": [
|
||
|
"/assets/**",
|
||
|
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|