Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 500f5e5

Browse files
brandonrobertsalan-agius4
authored andcommitted
fix(@nguniversal/express-engine): export default bootstrap in server template for standalone
(cherry picked from commit 5507d98)
1 parent 6cb0da8 commit 500f5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/express-engine/schematics/install/files/__serverFileName@stripTsExtension__.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ if (moduleFilename === __filename || moduleFilename.includes('iisnode')) {
5656
run();
5757
}
5858

59-
export * from './src/<%= stripTsExtension(main) %>';
59+
<% if (isStandalone) { %>export default bootstrap;<% } else { %>export * from './src/<%= stripTsExtension(main) %>';<% } %>

0 commit comments

Comments
 (0)