You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node-resolve incorrectly resolves module-paths like "./someFolder/" when there is a file of the same name #51
I have a situation (real-world, this exists in the http-proxy module), where the following two things are in the same directory:
http-proxy.js - a file
http-proxy - a folder containing an 'index.js' file
http-proxy.js contains require('./http-proxy/'), which node.js resolves to ./http-proxy/index.js. node-resolve on the other hand, incorrectly resolves it to ./http-proxy.js.
Activity
fresheneesz commentedon Sep 16, 2014
To be clear, this is happening on both