joeybaker / remapify

Alias directories for browserify
Other
117 stars 23 forks source link

Resolve index.js when no file is provided #20

Closed justrhysism closed 8 years ago

justrhysism commented 9 years ago

So the alias for ./foo/index.js could be resolved such as require('foo').

Although I imagine this has more to do with aliasify: https://github.com/benbria/aliasify/issues/19

joeybaker commented 9 years ago

@justrhysism sorry for not responding sooner. You're right this is a aliasify issue. I'll happily pull it in from there :)

We could solve it in remapify, but it would be better if it was handled upstream.

joeybaker commented 9 years ago

@justrhysism I'm going to close this for now. Please re-open if you feel differently.

arthurmchr commented 9 years ago

Hi @joeybaker ! Could you provide me some solutions to enable this feature ? I strongly use ìndex.js resolve feature provided by node and would really appreciate using it through remapify too. Thanks :)

joeybaker commented 9 years ago

@arthurmuchir good point. Now that aliasify is removed, we should handle this in remapify.

dey-dey commented 9 years ago

+1 to this!