[Packager] Haste dependency regex is over-eager #88
Labels
Good first issue
Interested in collaborating? Take a stab at fixing one of these issues.
Resolution: Locked
This issue was locked by the bot.
If you have method named
require
on an object and call it with something that looks like a path, Haste parses it and puts it in the module map. Instead it should look for object-less require calls and maybe explicitly allowglobal.require
andwindow.require
.Repro:
X.require('./hello')
The text was updated successfully, but these errors were encountered: