vendredi 3 novembre 2017

Building an Angular 4 library while working on a project that depends on it

I'm currently working on an Angular 4 project that involves the development of an external UI component library (much like "ngx-bootstrap").

Having the separation between the two is quite important because the said UI component library will later be used in additional Angular 4 projects.

What I've noticed is that most libraries come pre-built, However, building them separately (at least right now) is too cumbersome, I'd much rather work on them simultaneously and the first idea that I've had was to simply import the .ts files and compile them from the parent project.

I tried achieving this functionality by using npm link, but when reading online, it seemed like this approach is not recommended.

http://ift.tt/2hzqcBm

I'd love to know what options I have in order to achieve this functionality.




Aucun commentaire:

Enregistrer un commentaire