31 lines
690 B
Text
31 lines
690 B
Text
|
{
|
||
|
"$schema": "<%= relativePathToWorkspaceRoot %>/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/**",
|
||
|
"<%= resourcesOutputPath %>/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|