From ff539261cb2848b65cfc45843ac8cc97aca59eb7 Mon Sep 17 00:00:00 2001 From: Adeel Date: Sat, 10 Jan 2015 03:37:05 +0200 Subject: [PATCH] Importer: Hack to make CLI importer usage work. * If anyone could ever explain this! --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index 9379c80a6..cf421e4c2 100644 --- a/lib/index.js +++ b/lib/index.js @@ -206,6 +206,7 @@ module.exports.render = function(options) { if (importer) { options.importer = function(file, prev, key) { function done(data) { + console.log(data); // ugly hack binding.importedCallback({ index: key, objectLiteral: data