Commit ff539261 by Adeel

Importer: Hack to make CLI importer usage work.

* If anyone could ever explain this!
parent 0720fa87
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment