(Unofficially) UNDEPRECATED: electron-prebuilt-compile
This project is now (unofficially) maintained by Lane Shaw, new pull requests will be reviewed (as time permits) or merged and new issues can be reported here.
electron-prebuilt-compile is a drop-in replacement for electron (previously was electron-prebuilt) that natively understands ES6/ES7 + React + LESS + some other languages, powered by @lanethegreat/electron-compile.
Download and install the latest build of
@lanethegreat/electron-prebuilt-compile for your OS and add it to your project's
package.json as a
npm install @lanethegreat/electron-prebuilt-compile --save-dev
Now you can just run
electron to run electron:
Electron will now understand ES6/ES7 and React components out-of-the-box, even in inline HTML: