From 7de93e593a9b6439b2f33d0c25c371e14a0e9e38 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 7 Oct 2024 07:58:28 +0000 Subject: [PATCH] fix(@schematics/angular): include `index.csr.html` in resources asset group Ensure `index.csr.html` is available for the service worker when using SSR/SSG. Closes #28574 --- .../angular/service-worker/files/ngsw-config.json.template | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/service-worker/files/ngsw-config.json.template b/packages/schematics/angular/service-worker/files/ngsw-config.json.template index 17954bd634f1..1be9a7e62f53 100644 --- a/packages/schematics/angular/service-worker/files/ngsw-config.json.template +++ b/packages/schematics/angular/service-worker/files/ngsw-config.json.template @@ -8,6 +8,7 @@ "resources": { "files": [ "/favicon.ico", + "/index.csr.html", "/index.html", "/manifest.webmanifest", "/*.css",