Commit 2e2d9df3 authored by Iuri Matias's avatar Iuri Matias

make handleImportCall optional

parent c54ce861
......@@ -324,6 +324,7 @@ function Compiler (handleImportCall) {
continue
}
if (handleImportCall) {
handleImportCall(m, function (err, content) {
if (err) {
cb(err)
......@@ -332,6 +333,7 @@ function Compiler (handleImportCall) {
gatherImports(files, target, importHints, cb)
}
})
}
return
}
......
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