"Complied" doesn't work for me

Posted on
  • Hi everyone, I am new to Puck.js and javascript in general. I have a big program that I want to compile first before load to Puck.js. I have tried follow the link :http://www.espruino.com/Compilation

    The IDE always popup a waning says: Compiler not active as no process.evn.EXPORTS available.

    I have already update firmware to 1.91. is here any thing wrong or how can I do this?

    Thanks

    Hongwei

  • Hi - I'm afraid Compilation isn't available for Puck.js.

    However it's unlikely to do what you want for a big program - compiled code tends to use a lot more memory (at least 2x) than minified JavaScript.

    If you want to fit a lot of code in, your best bet is to turn on minification in the IDE's settings, as well as save on send

  • Hi Gorden, thanks very much for your information. I will try it out.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

"Complied" doesn't work for me

Posted by Avatar for user74740 @user74740

Actions