30 lines
612 B
JSON
30 lines
612 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"
|
|
]
|
|
}
|
|
}, {
|
|
"name": "assets",
|
|
"installMode": "lazy",
|
|
"updateMode": "prefetch",
|
|
"resources": {
|
|
"files": [
|
|
"/assets/**",
|
|
"/documents/**",
|
|
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|