Skip to content

Commit 2dac2ac

Browse files
timfrijtersppwalan-agius4
authored andcommitted
fix(@schematics/angular): Alphabetized import sources within a group
1 parent 64124cb commit 2dac2ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { NgModule } from '@angular/core';
2-
import { Routes, RouterModule } from '@angular/router';<% if (lazyRoute) { %>
3-
2+
import { RouterModule, Routes } from '@angular/router';<% if (lazyRoute) { %>
43
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>
54

65
const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];

0 commit comments

Comments
 (0)