Now that we have a full app, all that's left to do is package it up so that you can deliver it as an executable file for Windows, Linux, or macOS users. Let's finish the chapter by looking at how to do that in this recipe.
Making a distributable package
How to do it...
There are many ways of packaging an app, but we'll use a tool, electron-builder, that will make it even easier, if you can get its configuration right!
You can read more about electron-builder, its capabilities, and its configuration at https://www.electron.build/.
Let's take a look at the necessary steps. First of all, we'll have to begin by defining the build configuration, and our initial step will be, as always, to install the tool...