concept main module in category aurelia

This is an excerpt from Manning's book Aurelia in Action.
With legacy style dependencies, such as Bootstrap, you need to give the bundling system more information as to how it should handle the items (CSS, JavaScript) that need to be included. Key points to note from listing A.1 are that you provide a specific path where the bundler should look for the Bootstrap source code (relative to your application src directory), and where the main module of that package is found (this is what you’ll import when using the Bootstrap JavaScript plugins). You also indicated the value this main module should be exported as (in this case, $). This allows you to import the main module from bootstrap.min into a view-model using the import $ from bootstrap syntax. Finally, the Bootstrap library includes CSS, which, being text, isn’t traceable as part of the module system; you need to list it in the resources array so that it will be injected as text into the vendor-bundle.