I understand the purpose of require("modulename") but I was wondering if this approach could be used to load my own modules and to help structure my own code.
If I place my own modules in a specific folder can the Web IDE be configured to look for them there or does it always look online for minified versions of the Espruino modules?
(Even if the Web IDE cannot access my local file system it would be good if it could access custom modules via my locally hosted web server)
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.
I understand the purpose of require("modulename") but I was wondering if this approach could be used to load my own modules and to help structure my own code.
If I place my own modules in a specific folder can the Web IDE be configured to look for them there or does it always look online for minified versions of the Espruino modules?
(Even if the Web IDE cannot access my local file system it would be good if it could access custom modules via my locally hosted web server)