Skip to content

Commit 45714c2

Browse files
committed
feat(aot):export default routes array to work with AoT compiler
1 parent c2dd94c commit 45714c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-cli/blueprints/module/files/__path__/__name__-routing.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
33

4-
const routes: Routes = [];
4+
export const routes: Routes = [];
55

66
@NgModule({
77
imports: [RouterModule.forChild(routes)],

0 commit comments

Comments
 (0)