From 45714c2b91fd9793c7824ef9d19dab257625051d Mon Sep 17 00:00:00 2001 From: Meligy Date: Thu, 13 Oct 2016 22:18:16 +1100 Subject: [PATCH] feat(aot):export default routes array to work with AoT compiler --- .../blueprints/module/files/__path__/__name__-routing.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular-cli/blueprints/module/files/__path__/__name__-routing.module.ts b/packages/angular-cli/blueprints/module/files/__path__/__name__-routing.module.ts index 2d4459211035..be5ef08855b7 100644 --- a/packages/angular-cli/blueprints/module/files/__path__/__name__-routing.module.ts +++ b/packages/angular-cli/blueprints/module/files/__path__/__name__-routing.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; -const routes: Routes = []; +export const routes: Routes = []; @NgModule({ imports: [RouterModule.forChild(routes)],