Relative Content

Tag Archive for angulartypescriptnpm

How to bundle standalone component and directive when building an Angular library

I have built an Angular library that contains a component and a directive which are intrinsically linked. That is the component uses the directive. Everything works fine other than to successfully use the library I have to import both to component and the directive where what I would like to do is import a single element which behind the scenes imports both the component and the directive.