@espftw, it is good practice do develop module inline, then put it thru google closure compiler and then put both .js and .min.js into the modules folder... The IDE has multiple options how to find which modules and where first and also the option to minify code on upload. If a module has an error the minification for sure the upload makes finally fail. Take a look at conversation about Module Development. Honing out issues inline - but already in the structure of a module - makes debugging a lot easier. Modules can be uploaded as source or as functi0ns... as @Gordon points out.
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.
@espftw, it is good practice do develop module inline, then put it thru google closure compiler and then put both .js and .min.js into the modules folder... The IDE has multiple options how to find which modules and where first and also the option to minify code on upload. If a module has an error the minification for sure the upload makes finally fail. Take a look at conversation about Module Development. Honing out issues inline - but already in the structure of a module - makes debugging a lot easier. Modules can be uploaded as source or as functi0ns... as @Gordon points out.