Can't you confuse the IDE, to work around this? I thought you could do this and the IDE would let it through (I remember doing something like this before the IDE could load modules from local filesystem)...
var x="ABC";
require(x).connect(...);
In an ideal world, I think this should pop up a dialog "Module XYZ not found, send anyway?" with a check box to not show it again, but I would consider this pretty unimportant, since it's such an exotic use case, and there's a workaround.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Can't you confuse the IDE, to work around this? I thought you could do this and the IDE would let it through (I remember doing something like this before the IDE could load modules from local filesystem)...
In an ideal world, I think this should pop up a dialog "Module XYZ not found, send anyway?" with a check box to not show it again, but I would consider this pretty unimportant, since it's such an exotic use case, and there's a workaround.