I am writing an Electron program and want to use some javascript classes in the main process. I would prefer to have those classes in different files and include them inside of the script.
I usually did this by just adding both, the script and the classes inside the html file but since it is the main process there is not html file.
Question Is it possible to include an external javascript file in a different javascript file?