6cb936988c
* Modified to support running off of local static build * Added silent flag to coverage script * Updated azure-piplines.yml to point to correct location * clean up and merge changes from My's branch * fix file path * update package-lock.json * refactor webpack configs
813 B
813 B
Order of Operation
Command
npm run release
Underneath the hood
-
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
Relevant files
-
.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