This is the configuration I use to write an Electron app in TypeScript and package it into a single .exe file for Windows distribution.
Package the app by running:
npm run distThis typically also includes my other configuration setup at https://github.com/iansan5653/ts-boilerplate.