Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
refactor(build): fix compile error
Browse files Browse the repository at this point in the history
fix compile error
  • Loading branch information
danbucholtz committed Feb 13, 2017
1 parent dfb9ec5 commit 5b7243d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export function generateContext(context?: BuildContext): BuildContext {

// default stand-alone builds to default to es5
// if closure is being used, don't worry about this as it already automatically converts to ES5
const buildToEs5 = getConfigValue(context, '--buildToEs5', null, Constants.ENV_BUILD_TO_ES5, Constants.ENV_BUILD_TO_ES5.toLowerCase(), closureEnabled ? null : 'true');
const buildToEs5 = getConfigValue(context, '--buildToEs5', null, Constants.ENV_BUILD_TO_ES5, Constants.ENV_BUILD_TO_ES5.toLowerCase(), useExperimentalClosure ? null : 'true');
setProcessEnvVar(Constants.ENV_BUILD_TO_ES5, buildToEs5);
Logger.debug(`buildToEs5 set to ${buildToEs5}`);

Expand Down

0 comments on commit 5b7243d

Please sign in to comment.