For cases like yours I follow Gordon using a variable instead of a string.
var n = "myModule"; var x = require(n).....
This way, the Web IDE will not recognize the module and therefore will not miss it.
@JumJum started
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.
For cases like yours I follow Gordon using a variable instead of a string.
This way, the Web IDE will not recognize the module and therefore will not miss it.