Skip to content

Commit 9e6ab1b

Browse files
dgp1130jkrems
authored andcommitted
fix(@schematics/angular): use default import for express
Now that we're using `esModuleInterop`, a default import is required. (cherry picked from commit 2e43ec6)
1 parent 5b009cd commit 9e6ab1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/ssr/files/server-builder/server.ts.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'zone.js/node';
22

33
import { APP_BASE_HREF } from '@angular/common';
44
import { CommonEngine } from '@angular/ssr/node';
5-
import * as express from 'express';
5+
import express from 'express';
66
import { existsSync } from 'node:fs';
77
import { join } from 'node:path';
88
import <% if (isStandalone) { %>bootstrap<% } else { %>AppServerModule<% } %> from './main.server';

0 commit comments

Comments
 (0)