Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Extract an Angular Module into a separate library with ng-packagr


    Angular Modules can be seen as a distributable unit. They group together a set of logically connected code which can be imported and used by other modules within an Angular application. However, if you want to share them across multiple applications, you have to extract, package and distribute them accordingly. In this lesson we will learn how to extract an existing module and to use ng-packagr in order to bundle it according to the Angular Package Format.