electron-es6-react
electron-es6-react copied to clipboard
what about packaging and building electron app script
i found a solution that work for me https://github.com/chentsulin/electron-react-boilerplate/issues/139#issuecomment-207596776
@satart that worked great, to further explain for others that find this:
install electron-packager CLI :
npm install electron-packager -g
create a new index.js in the root of your project next to main.js with the following:
/* eslint strict: 0 */
'use strict';
require('babel-register');
require('./main.js');
In package.json change the start point "main" to "index.js"
Then you can run electron-packager . to build.