browserify / browser-resolve

resolve function which support the browser field in package.json
MIT License
102 stars 70 forks source link

Relative file lookups are incorrectly shimmed #76

Closed mdlavin closed 3 years ago

mdlavin commented 8 years ago

After version 0.11.0 was released a project that was packaged with browserify starting to build with the wrong contents. I tracked the problem down to version 0.11.0 being used to package module ltx 0.9.1.

I've created a testcase that demonstrates a change in file resolution between 0.10 and 0.11. I didn't find an obvious solution to the problem, so I thought I'd start with a PR with the testcase and see if anybody else had thoughts. I'm happy to code the fix if there is an approach that somebody can explain.

defunctzombie commented 8 years ago

ping @substack who worked on 1.11

mdlavin commented 3 years ago

I'm assuming that this will not be merged. I'm closing it so that it will be remove from my open PR list