The other issue is that modules are loaded as one big string of code. If the modules are too big then there won't be enough memory to hold that string and the module itself when it is loaded.
There's not much of a way around that (apart from copy/pasting the module code into the main code window), but I imagine that if memory is that tight, you might end up with problems executing it anyway.
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.
The other issue is that modules are loaded as one big string of code. If the modules are too big then there won't be enough memory to hold that string and the module itself when it is loaded.
There's not much of a way around that (apart from copy/pasting the module code into the main code window), but I imagine that if memory is that tight, you might end up with problems executing it anyway.