@Wilberforce it is merged, it's just not live yet - you should be able to load it manually from GitHub if you want to try it. Before putting it live I want to test the module loading on the main IDE platforms first.
In this case it sounds like Terser is unlikely to help (if the issue really is that everything gets shoved on one line).
I'd suggest turning on Direct to Flash as Wilberforce suggests. That will automatically split code, but also has the bonus that any function code will be executed direct from flash, saving you a bunch of memory.
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.
@Wilberforce it is merged, it's just not live yet - you should be able to load it manually from GitHub if you want to try it. Before putting it live I want to test the module loading on the main IDE platforms first.
In this case it sounds like Terser is unlikely to help (if the issue really is that everything gets shoved on one line).
I'd suggest turning on
Direct to Flash
as Wilberforce suggests. That will automatically split code, but also has the bonus that any function code will be executed direct from flash, saving you a bunch of memory.