3/16/2023 0 Comments Electron app package for mac![]() ![]() For simplicity, I have also changed the ourDir to just dist. It has to be "commonjs" instead of "es2015". The only thing we need to change is the module property. The content of that file looks quite similar to the one used in the angular application. We need that file to compile the TypeScript file into JavaScript one. ![]() This file will be the main starting point of our electron application.įinally, create a new tsconfig.json file inside of the directory. We will use that folder to place all electron-related files inside.Īfterward, make a new file and call it "main.ts" inside of the electron folder. To do that, create a new directory called electron inside of the projects root directory. Npm i -D types are irrelevant for the running application, we add it as dev-dependency, as well.įor now, we will leave the angular app as it is and focus on starting it inside of electron.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |