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

Commit 6d5500d

Browse files
committed
fix(@nguniversal/express-engine): fix formatting in generated server.ts
Add spacing to match other file generated by the Angular CLI (cherry picked from commit 979f6f5)
1 parent 3352347 commit 6d5500d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import 'zone.js/node';
22

3-
import {APP_BASE_HREF} from '@angular/common';
4-
import {ngExpressEngine} from '@nguniversal/express-engine';
3+
import { APP_BASE_HREF } from '@angular/common';
4+
import { ngExpressEngine } from '@nguniversal/express-engine';
55
import * as express from 'express';
6-
import {existsSync} from 'fs';
7-
import {join} from 'path';
6+
import { existsSync } from 'fs';
7+
import { join } from 'path';
88

9-
import {AppServerModule} from './src/<%= stripTsExtension(main) %>';
9+
import { AppServerModule } from './src/<%= stripTsExtension(main) %>';
1010

1111
// The Express app is exported so that it can be used by serverless Functions.
1212
export function app(): express.Express {

0 commit comments

Comments
 (0)