module-deps
module-deps copied to clipboard
Alternative Paths when loading Transforms
Pass the collection of paths through to resolve to support environments with 'interesting' node module environments ala https://github.com/tkellen/js-liftoff/pull/44/files
Patched up a minor bug in an error message whilst I was here as well.
ping @zertosh
params gets passed to resolve as opts, where it's given a default value of []. By passing self.paths, it'll actually get a value. I think there's an expectation that modules have within their path resolution hierarchy the transform they need, so you shouldn't be passing in paths for that.
Am I missing something?