You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • No, the Web IDE doesn't know which modules are on the SD card so it'll load the latest module directly into Espruino anyway (and the module won't be loaded from the SD card).

    And yes, if you do that then the module will only be loaded if/when it is required. However because of above, the Web IDE will try and load it in. If you want to stop that happening, just make it a little harder for the Web IDE:

    var modulename = "modulename";
    require(modulename)
    
About

Avatar for Gordon @Gordon started