I'm a bit late to the party, but I'm new to Espruino and I too, did miss some of the modern features of JS.
I spend some time handpicking Babel plugins and did some sanity testing to see if the resulting code worked as expected in Espruino.
I found some bugs (which I've raised as issues in GitHub), but I'm so far, pretty happy with the result.
I have published a sample project which could be used as a starting point. It can be found here: https://github.com/andrewwakeling/espruino-webpack-babel-sample
I would love to hear any feedback here or via GitHub. Thanks!
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'm a bit late to the party, but I'm new to Espruino and I too, did miss some of the modern features of JS.
I spend some time handpicking Babel plugins and did some sanity testing to see if the resulting code worked as expected in Espruino.
I found some bugs (which I've raised as issues in GitHub), but I'm so far, pretty happy with the result.
I have published a sample project which could be used as a starting point. It can be found here:
https://github.com/andrewwakeling/espruino-webpack-babel-sample
I would love to hear any feedback here or via GitHub. Thanks!