This article takes a close look at what happens when you run “ng new”, explores the notion of a workspace and library modules and shows how they can be used in Angular application.

Many of the improvements in Angular 6 were to Angular CLI. The one I have really been looking forward to is the integration of Angular CLI with ng-packagr to generate and build Angular libraries. ng-packagr is a fantastic tool created by David Herges that transpiles your library to the Angular Package Format.

In this article we will walk through the details of creating an Angular library. Also, I will highlight some rules that will help you get your library started correctly so you won’t run into issues later.

#angular #library #angular-cli

Creating a Library in Angular 6 using Angular CLI and ng-packagr
3.50 GEEK