From b8bd11a0e7e4dc55288304f8b174429fadebaf6f Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 8 Mar 2015 03:02:19 +1100 Subject: [PATCH] fix incorrect builder reference --- src/babel/build-external-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babel/build-external-helpers.js b/src/babel/build-external-helpers.js index b20f956c3b..0d405ec8e2 100644 --- a/src/babel/build-external-helpers.js +++ b/src/babel/build-external-helpers.js @@ -63,7 +63,7 @@ export default function (whitelist, outputType = "global") { var: buildVar }[outputType]; - if (builder) { + if (build) { tree = build(namespace, builder); } else { throw new Error(messages.get("unsupportedOutputType", outputType));