From 4b9f6735945e85358459665cd9b8b5bbe29f17c5 Mon Sep 17 00:00:00 2001 From: jgw96 Date: Wed, 22 Mar 2017 13:39:55 -0500 Subject: [PATCH] chore(templates): entryComponents are not needed with code splitting --- scripts/templates/component/module.ts.tmpl | 3 --- scripts/templates/page/module.ts.tmpl | 3 --- scripts/templates/tabs/module.ts.tmpl | 3 --- 3 files changed, 9 deletions(-) diff --git a/scripts/templates/component/module.ts.tmpl b/scripts/templates/component/module.ts.tmpl index 4f5419ce47..5c45472319 100644 --- a/scripts/templates/component/module.ts.tmpl +++ b/scripts/templates/component/module.ts.tmpl @@ -8,9 +8,6 @@ import { IonicModule } from 'ionic-angular'; ], imports: [ IonicModule.forChild($CLASSNAMEComponent) - ], - entryComponents: [ - $CLASSNAMEComponent ] }) export class $CLASSNAMEComponentModule {} diff --git a/scripts/templates/page/module.ts.tmpl b/scripts/templates/page/module.ts.tmpl index 06e7bee3b5..592f0590b7 100644 --- a/scripts/templates/page/module.ts.tmpl +++ b/scripts/templates/page/module.ts.tmpl @@ -8,9 +8,6 @@ import { IonicModule } from 'ionic-angular'; ], imports: [ IonicModule.forChild($CLASSNAME), - ], - entryComponents: [ - $CLASSNAME, ] }) export class $CLASSNAMEModule {} diff --git a/scripts/templates/tabs/module.ts.tmpl b/scripts/templates/tabs/module.ts.tmpl index 06e7bee3b5..592f0590b7 100644 --- a/scripts/templates/tabs/module.ts.tmpl +++ b/scripts/templates/tabs/module.ts.tmpl @@ -8,9 +8,6 @@ import { IonicModule } from 'ionic-angular'; ], imports: [ IonicModule.forChild($CLASSNAME), - ], - entryComponents: [ - $CLASSNAME, ] }) export class $CLASSNAMEModule {}