• Wow, thanks - this looks great! It might well be able to minify it even further as well (changing the name of DS18B20 for instance).

    So is it also able to fetch the modules from the Espruino website as well?

    If you want to do save, you might just be able to set Espruino.Config.SAVE_ON_SEND to 1 before sending.

  • Yea, I noticed that it could be minified even further. That's up to the Uglify plugin to do, I'll see whether it can be configured to be more ugly.

    At the moment you have to manually download the modules, but I think it might be possible to automatically download Espruino modules like the Web IDE does, I'll see what I can do! Would be very nice if this could work just like the Web IDE, that's a good benchmark :)

    I don't think setting SAVE_ON_SEND would work, as I'm skipping the part of EspruinoTools that does minification, which is what calls the plugin for saving, if I recall correctly. Can I call that plugin directly somehow?

About

Avatar for Joakim @Joakim started