From 9602003c49c4fb703056f9f2e79ae0df62765acc Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 4 Sep 2019 10:50:49 +0200 Subject: [PATCH] feat(@schematics/angular): add export to `renderModule` in server main file This will be used by universal and app-shell to render the server module --- .../universal/files/src/__main@stripTsExtension__.ts.template | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template b/packages/schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template index 5f82b3e53a0c..ff83dfc2d4ab 100644 --- a/packages/schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template +++ b/packages/schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template @@ -7,3 +7,4 @@ if (environment.production) { } export { <%= rootModuleClassName %> } from './app/<%= stripTsExtension(rootModuleFileName) %>'; +export { renderModule } from '@angular/platform-server';