AndrewPoyntz / time-ago-pipe

An Angular pipe for converting a date string into a time ago
MIT License
130 stars 67 forks source link

Produce a proper Angular Package #16

Closed dfederm closed 6 years ago

dfederm commented 6 years ago

This change uses ng-packagr to produce a package in the Angular Package Format, which is the recommended format for all Angular libraries. It's a format that works well with all common Angular usages (webpack, AOT, etc).

Running npm run build will produce a package under "dist", and then to publish you just run "npm push dist".

Fixes: #11 #15

dfederm commented 6 years ago

Friendly page for @AndrewPoyntz. Can you take a look at this?

raDiesle commented 6 years ago

npm run build is not the same as npm build prod. not working with 1.3.2 and latest angular