OK, this is a simple concept but I’m going to write down discoveries as I find them, no matter how small, so I don’t forget.
Bootstrapping Topic: map and packages
When defining a default app in map (app: ‘app’), you need to also put it in the ‘packages’ section.
Remember that map and packages together just identify where things live. map initializes and packages help to define what to do in certain circumstances. For instance, packages define default extensions so the compiler knows what to do when it comes across a bundle or library that doesn’t have an explicit extension.
In the case of app (your main module to execute your code), you define not only defaultExtension, but in ‘main’ you define the name of the file/module executed when app is called.