From 2dac2ac769df2a0f39e157649fe7a70965b1b881 Mon Sep 17 00:00:00 2001 From: tim_frijters Date: Thu, 30 Apr 2020 15:16:41 +0200 Subject: [PATCH] fix(@schematics/angular): Alphabetized import sources within a group --- .../__name@dasherize__-routing.module.ts.template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template b/packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template index 149c990d41..63c372de60 100644 --- a/packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template +++ b/packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template @@ -1,6 +1,5 @@ import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router';<% if (lazyRoute) { %> - +import { RouterModule, Routes } from '@angular/router';<% if (lazyRoute) { %> import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %> const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];