From f3a005f384a51bca14c2b655267af07d0c37833b Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Tue, 19 Jan 2016 15:03:16 -0500 Subject: [PATCH] Don't fail when there is no application source batch. --- tools/isobuild/compiler-plugin.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/isobuild/compiler-plugin.js b/tools/isobuild/compiler-plugin.js index b99c3935af..b54163deb3 100644 --- a/tools/isobuild/compiler-plugin.js +++ b/tools/isobuild/compiler-plugin.js @@ -675,7 +675,10 @@ export class PackageSourceBatch { } pkgSourceBatches.forEach(scan); - scan(appSourceBatch); + + if (appSourceBatch) { + scan(appSourceBatch); + } return map; }