Skip to content

Commit

Permalink
fix(@schematics/angular): use default import for express
Browse files Browse the repository at this point in the history
Now that we're using `esModuleInterop`, a default import is required.

(cherry picked from commit 2e43ec6)
  • Loading branch information
dgp1130 authored and jkrems committed Nov 16, 2024
1 parent 5b009cd commit 9e6ab1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'zone.js/node';

import { APP_BASE_HREF } from '@angular/common';
import { CommonEngine } from '@angular/ssr/node';
import * as express from 'express';
import express from 'express';
import { existsSync } from 'node:fs';
import { join } from 'node:path';
import <% if (isStandalone) { %>bootstrap<% } else { %>AppServerModule<% } %> from './main.server';
Expand Down

0 comments on commit 9e6ab1b

Please sign in to comment.