Alan Agius
4b09887a9c
feat(@angular/ssr): move CommonEngine
API to /node
entry-point
...
Refactored the `CommonEngine` API import path to remove Node.js dependencies from the `@angular/ssr` main entry-point.
BREAKING CHANGE:
The `CommonEngine` API now needs to be imported from `@angular/ssr/node`.
**Before**
```ts
import { CommonEngine } from '@angular/ssr';
```
**After**
```ts
import { CommonEngine } from '@angular/ssr/node';
```
2024-08-27 08:57:37 +02:00
Alan Agius
a673baf5ce
Revert "fix(@schematics/angular): rename SSR port env variable"
...
This reverts commit 950a44521fdfb82000f6564ccc4c87d4a2b94680.
2024-04-02 11:51:45 -07:00
Paweł Kubiak
950a44521f
fix(@schematics/angular): rename SSR port env variable
...
Rename the SSR port env variable to SSR_PORT.
It could help to resolve this firebase issue: https://github.com/firebase/firebase-tools/issues/6651#issuecomment-1881647322 , cause PORT is reserved environment variable: https://firebase.google.com/docs/functions/config-env?gen=2nd#reserved-names .
2024-03-22 13:23:31 -04:00
Alan Agius
f6a088bc18
fix(@angular/ssr): correctly set config URL
...
When calling `renderApplication` or `renderModule` the URL would be overridden to undefined as the `url` option was not provided as an option.
2023-10-24 16:11:45 +02:00
Alan Agius
6a85b13b1f
refactor(@angular/ssr): move ng-add
schematic to @schematics/angular
...
This move is in preparation to enable `ng new --ssr`.
2023-09-25 20:17:01 +02:00