esperantojs / esperanto

DEPRECATED: An easier way to convert ES6 modules to AMD and CommonJS
http://esperantojs.org
234 stars 21 forks source link

resolvePath shouldn't have to resolve a path #148

Closed Rich-Harris closed 9 years ago

Rich-Harris commented 9 years ago

It should be okay for the resolvePath option to not return a path, indicating that the requested module can't be found and should therefore be assumed to be an external module. Otherwise it's not possible to use resolvePath with a bundle that uses external modules.