Creating Angular NPM packages with ng-packagr

1 · Milosz Piechocki · Jan. 25, 2018, 9:03 p.m.
In this short post, I would like to share some of the experiences I’ve had when creating an NPM Angular package using ng-packagr.Angular Package Format and ng-packagrFirst of all, when creating an Angular library, it’s important to understand that you need to include a bit more than just plain TypeScript files inside the NPM package. It should contain JavaScript code that is ready to be consumed in various ways - e.g. by Webpack, Rollup or Angular CLI. There are some best-practices describing wh...