Unless you're loading your own modules, the IDE will by default use minified versions to begin with ( http://espruino.com/modules - those .min.js files ), so module optimization shouldn't matter.
Are there any bizarre bits of syntax in the code you're sending that might be confusing the minifier? I've only seen minification problems when my code has syntax errors (the minifier will choke on them, but sometimes they won't immediately get flagged up by Espruino)
I've never had any luck with Advanced Optimizations - it usually produces code that doesn't work (presumably that's why it's 'not recommended')
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.
Unless you're loading your own modules, the IDE will by default use minified versions to begin with ( http://espruino.com/modules - those .min.js files ), so module optimization shouldn't matter.
Are there any bizarre bits of syntax in the code you're sending that might be confusing the minifier? I've only seen minification problems when my code has syntax errors (the minifier will choke on them, but sometimes they won't immediately get flagged up by Espruino)
I've never had any luck with Advanced Optimizations - it usually produces code that doesn't work (presumably that's why it's 'not recommended')