From e78df4d9818901d38a207624c766ae46f28726f5 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 7 Feb 2013 23:36:09 -0800 Subject: [PATCH] Create a debug build if `--output` is passed. Former-commit-id: 7571d238cf00fd9a7c72f65313e3807483067ace --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 5a1ceb0a9..87f81494d 100755 --- a/build.js +++ b/build.js @@ -2396,7 +2396,7 @@ dependencyMap = dependencyBackup; // output debug build - if (!isMinify && (isCustom || isDebug || isTemplate)) { + if (!isMinify && (isCustom || isDebug || isTemplate || outputPath)) { if (isCustom) { debugSource = addCommandsToHeader(debugSource, options); }