npm run release-
Create the
reactbundle inside thebuilddirectory,- have to run this first because it will override everything in the
builddirectory; - create
index.html&static/
react-scripts build
- have to run this first because it will override everything in the
-
Create
build/electrondirectory and the entry point filebundle.jswebpack -p --config ./config/webpack.dev.config.js
-
Now you can build the os-specific executable
electron-builder
-
.env- environment variables use by
react-scriptto generate the correct content forbuild/index.html
- environment variables use by
-
electron-builder.yml- configuration for electron-builder
-
package.json- dependencies and scripts