Reading time ~1 minute

Up next, systemjs.config.js which configures the SystemJS module loader.

The map block configures a module alias to a location or package. ‘app’ maps to the ./app directory. ‘rxjs’ maps to node_modules/rxjs, ‘angular2-in-memory-web-api’ maps to node_modules/angular2-in-memory-web-api, and ‘@angular’ maps to node_modules/@angular.

The packages block allows configuration of a particular map. ‘app’ is configured with a main of main.js and defaultExtension is set to js. ‘rxjs’ and ‘angular2-in-memory-web-api’ are configured with defaultExtension set to js as well.

Finally, there’s some actual JavaScript code to set defaultExtension to js for all the @angular packages and System.config() is called with the configuration block to make the changes to the system.

Perils of a Family-First Software Developer

I've just survived a RIF, my skills and tool set are built around technologies that were modern 10 years ago, my interviewing skills have...… Continue reading

AWS CodeStar and TypeScript - Part 3

Published on May 28, 2017

AWS CodeStar and TypeScript - Part 2

Published on May 17, 2017