How does it work?
Put this in your Electron app's
From then on, you can now simply include files directly in your HTML, no need for cross-compilation:
or just require them in via io.js:
Does this work node.js too?
Babel keeps running on my ES5 source
'use nobabel'; to the top of your file to opt-out of Babel compilation.