Probably what's required is externs_url and a file that contains all of Espruino's built-in functions.
However: once you stop the minifier renaming Espruino's built-in functions, it won't compress your code as much - so I wonder if it's really worth it. If modules were properly inlined the minifier would be able to do a much better job, but right now the only way of doing that is to manually copy the module code into the same file.
Have you tried one of @DrAzzy's recent big ram builds?
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.
Someone could take a look at this if they wanted. The Web IDE is easy enough to tweak, and the relevant APIs are:
https://developers.google.com/closure/compiler/docs/api-tutorial1
https://developers.google.com/closure/compiler/docs/api-ref
Probably what's required is externs_url and a file that contains all of Espruino's built-in functions.
However: once you stop the minifier renaming Espruino's built-in functions, it won't compress your code as much - so I wonder if it's really worth it. If modules were properly inlined the minifier would be able to do a much better job, but right now the only way of doing that is to manually copy the module code into the same file.
Have you tried one of @DrAzzy's recent big ram builds?