feat: add angular pwa shell

This commit is contained in:
Bastian Wagner
2026-08-17 13:31:38 +02:00
parent ceaef3028f
commit 755cc88dc2
18 changed files with 140 additions and 371 deletions

28
frontend/ngsw-config.json Normal file
View File

@@ -0,0 +1,28 @@
{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.csr.html",
"/index.html",
"/manifest.webmanifest",
"/*.css",
"/*.js"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": ["/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"]
}
}
]
}