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.
  • Loading branch information
dgp1130 authored and jkrems committed Nov 16, 2024
1 parent 4340f5f commit 2e43ec6
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 2e43ec6

Please sign in to comment.