Have you tried minify.js with ADVANCED_OPTIMIZATIONS?
minify.js
activate compilation_level = ADVANCED_OPTIMIZATIONS by touch espruino.externs
touch espruino.externs
and than run
node <path to >/EspruinoDocs/bin/minify.js MAX3421.js MAX3421.min.js espruino.externs
@MaBe started
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.
Have you tried
minify.js
with ADVANCED_OPTIMIZATIONS?activate compilation_level = ADVANCED_OPTIMIZATIONS by
touch espruino.externs
and than run
node <path to >/EspruinoDocs/bin/minify.js MAX3421.js MAX3421.min.js espruino.externs