electron-vite-react
electron-vite-react copied to clipboard
chore: use ts config for electron-builder
Description
I noticed that in a recent commit the electron-builder.json5 was changed to electron-builder.json and a JSON schema was included, which is great. Since we are at it, why not just use the .config.ts format, which allows either a config object or a function returning a config object according to https://www.electron.build/configuration.
It aligns well with other configurations like vite.config.ts, provides better IntelliSense than JSON schema, and allows easy future customization if the config shall ever be generated by a function.
What is the purpose of this pull request?
- [ ] Bug fix
- [ ] New Feature
- [ ] Documentation update
- [x] Other