-
• #2
I'd just use the 'Online Closure Compiler'. Wrap your code in
(function() { .... })()
, run it through with 'simple optimisations' and then strip that text out afterwards. -
• #3
Hello,
Has the WebIDE a build in minifier ?
Thanks
Sacha
-
• #4
Yes, if you click on the
Options
button and thenminify
(however this will obviously make it harder to debug your code).For modules, what I described above will mimic exactly what the Espruino website does with them.
-
• #5
Thanks.
Hello,
I'm trying to write a module and I want to make sure that it works properly after it is minified.
Which minifier should I use and with what configuration/parameters to get the same results as in the official build system? I'm not using WebIDE.