diff --git a/lib/6to5/util.js b/lib/6to5/util.js index 2745955309..4425c28036 100644 --- a/lib/6to5/util.js +++ b/lib/6to5/util.js @@ -276,9 +276,5 @@ try { } catch (err) { if (err.code !== "MODULE_NOT_FOUND") throw err; - Object.defineProperty(exports, "templates", { - get: function () { - return exports.templates = loadTemplates(); - } - }); + exports.templates = loadTemplates(); }