You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSR manifest embeds the source index.html, not the built client index.html #696
angular-ssr-manifest-plugin.tsbuildStart reads resolve(root, 'index.html'), the source page, and embeds it as the server's index.server.html asset. The Angular CLI serves the built browser index.html, which has the hashed <script> / <link> tags.
source index.html <script type="module" src="/src/main.ts"> ← what the SSR response gets
built index.html <script type="module" src="/assets/index-AbC123.js"> ← what the browser needs
So the server-rendered page points at /src/main.ts, which doesn't exist in production, and the client app never boots or hydrates. Applies to vite build --ssr and to Environment API builds (vite build --app, where the client builds first).
Possible direction: in server environments, use the client environment's built index.html (its resolved build.outDir, or capture it in the client's generateBundle). Fall back to the source file with a warning.
Activity
fix: align host bindings, .d.ts injection and SSR/linker with ngtsc (v…