I have built code with webpack. Result bundle was 7K. It is pretty much same as buint by espruino-tool but without require statements.
In this case Espruino tried to save 15KB to flash as well.
I saw thread on GitHub regarding ESP8266_4M version.
Are you going to extend memory to 64K? If code size is actually takes twice amount of memory it can bee too little.
NodeMCU (lua version) ables to use whole chip memory.
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.
I have built code with webpack. Result bundle was 7K. It is pretty much same as buint by espruino-tool but without
require
statements.In this case Espruino tried to save 15KB to flash as well.
I saw thread on GitHub regarding
ESP8266_4M
version.Are you going to extend memory to 64K? If code size is actually takes twice amount of memory it can bee too little.
NodeMCU (lua version) ables to use whole chip memory.