Update express-engine to version and remove renderModuleFactory from main.server.ts

This commit is contained in:
Konstantinos Triantafyllou 2022-09-23 16:21:22 +03:00
parent ba8a0bf86f
commit 2265b4fb13
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
"@angular/platform-browser-dynamic": "~13.3.11",
"@angular/platform-server": "~13.3.11",
"@angular/router": "~13.3.11",
"@nguniversal/express-engine": "^12.1.3",
"@nguniversal/express-engine": "^13.1.1",
"clipboard": "^1.5.16",
"core-js": "^2.5.4",
"express": "^4.15.2",
@ -51,7 +51,7 @@
"@angular/cli": "~13.3.9",
"@angular/compiler-cli": "~13.3.11",
"@angular/language-service": "~13.3.11",
"@nguniversal/builders": "^12.1.3",
"@nguniversal/builders": "^13.1.1",
"@types/express": "^4.17.0",
"@types/compression": "^1.7.0",
"@types/node": "^12.11.1",

View File

@ -12,4 +12,4 @@ if (properties.environment !== "development") {
}
export { AppServerModule } from './app/app.server.module';
export { renderModule, renderModuleFactory } from '@angular/platform-server';
export { renderModule } from '@angular/platform-server';