From 98df094e604bf228f09566ecabe020283beb991d Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 9 Nov 2014 16:40:37 +1100 Subject: [PATCH] fix cached templates exporting --- lib/6to5/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/6to5/util.js b/lib/6to5/util.js index 423180c532..bd39a9eb9d 100644 --- a/lib/6to5/util.js +++ b/lib/6to5/util.js @@ -262,7 +262,7 @@ var loadTemplates = function () { }; try { - return require("../../templates.json"); + exports.templates = require("../../templates.json"); } catch (err) { if (err.code !== "MODULE_NOT_FOUND") throw err;