From 64370057d570a8dbc210945464a579773b5ea8df Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Mon, 13 Feb 2017 12:06:53 -0600 Subject: [PATCH] fix(optimizations): throw error when ionic-angular index file isn't found --- src/optimization.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/optimization.ts b/src/optimization.ts index 62e06674..6189bbc7 100644 --- a/src/optimization.ts +++ b/src/optimization.ts @@ -67,6 +67,9 @@ function purgeUnusedImports(context: BuildContext, purgeDependencyMap: Map, moduleToPurge: string) => { modulesToPurge.push(moduleToPurge);