Angular Nuggets: Bootstrapping

Full Stack

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.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Making of a Full Stack Developer: Origin Story

At work the other day, while I was clacking away writing code for some tool or other, I asked myself a question. Since I can sometimes do two things at once, I kept on coding while thinking about this: Is this where I want to be and what I want …