Basic desktop application with React.
Pretty straight forward process for building:
- Transpile the React code with
electron-renderer
(this will be included in the index.html viawebpack-html-plugin
). - Transpile the electron renderer with target
electron-main
. - Copy over the package.json, which will point to the
renderer.js
that was transpiled. - Run by starting the electron process via
electron
This is then output to the dist/
directory like so:
In development, this is slightly different:
- Run a hot server for React
- Load the remove