-
Notifications
You must be signed in to change notification settings - Fork 3
feat(docs): migrated to SSR (#DS-3683) #1121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Visit the preview URL for this PR (updated for commit 99a441f): https://koobiq-next--prs-1121-big64vi3.web.app (expires Mon, 24 Nov 2025 10:22:13 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
45fad76 to
cf249e4
Compare
f723e7a to
f4a808d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the documentation application to Server-Side Rendering (SSR) using Angular's built-in SSR capabilities with Express.js. The migration modernizes the build infrastructure and improves initial page load performance and SEO.
- Introduces SSR with Angular Universal using the new
@angular-devkit/build-angular:applicationbuilder - Adds Express server configuration with CommonEngine for server-side rendering
- Updates Firebase hosting configuration to support SSR output structure with browser/server folders
Reviewed Changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| angular.json | Migrated from browser builder to application builder with SSR and prerendering support; reorganized schematics configuration to project root |
| firebase.json | Updated public paths to browser subdirectory and changed rewrite destination to index.csr.html for SSR compatibility |
| package.json, yarn.lock | Pinned @types/express to specific version 4.17.21 instead of range ^4 |
| apps/docs/tsconfig.json | Removed redundant compiler options and added path mapping for docs-examples package |
| apps/docs/tsconfig.app.json | Added Node types, server entry files, and updated docs-examples path mapping |
| apps/docs/src/server.ts | New Express server implementation with CommonEngine for SSR rendering |
| apps/docs/src/main.server.ts | New server-side bootstrap entry point |
| apps/docs/src/config.server.ts | Server configuration with Window API mocks for SSR compatibility |
| apps/docs/src/config.ts | Extracted shared application configuration with HttpClient fetch support |
| apps/docs/src/main.ts | Simplified client bootstrap to use extracted configuration |
| apps/docs/src/app/components/anchors/anchors.component.ts | Added SSR compatibility checks for DOM APIs and return type annotations |
| apps/docs/README.md | Completely rewritten with clearer development setup instructions |
| packages/docs-examples/ng-package.json | Changed build output from node_modules to dist directory |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Кликал по страницам, такое вылезло |
|
No description provided.