npm install
- Update
package.json
entrypoint to"main": ".vite/build/main.js",
- Run
npm start
- Update
package.json
entrypoint to"main": ".vite/build/main.node",
- Run
npm run package
- Test the packaged application by executing the resulting binary.
For example (on Linux) run
/out/electron-forge-example-linux-x64/electron-forge-example