I apologize in advance if some questions were asked. I did extensive google search but still left confused in certain aspects when developing electron applications, I hope you can help me resolve them
- Electron has main and renderer files. I use typescript but still create 2 separate files main.ts and renderer.ts and I require renderer in HTML script tag at the bottom. Is it really the best way to call for script file? can I do it inside main.ts by importing it or?
- Is it possible to bundle all electron js files into one? Or renderer and the main process should be separated? I was thinking of using angular 2 + webpack and thought is “electron ok” with me bundling all into one file or chunks if the code is too big.
Thanks a lot o/