From 04ea27f8ff43b84c5f5b79c63a55d61f044ab2de Mon Sep 17 00:00:00 2001 From: Nikolai Onken Date: Thu, 18 Feb 2016 15:21:35 +0000 Subject: [PATCH] fix build --- node_modules/architect-build/compress.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/node_modules/architect-build/compress.js b/node_modules/architect-build/compress.js index 343f5d70..75cf9808 100644 --- a/node_modules/architect-build/compress.js +++ b/node_modules/architect-build/compress.js @@ -11,8 +11,9 @@ function compress(sources, opts) { var literals = []; sources.forEach(function(pkg){ - if (/^"disable compress"/.test(pkg.source)) + if (/"disable compress"/.test(pkg.source)) { return literals.push(pkg.source); + } if (pkg.file) console.log("Adding '" + pkg.file + "'.");