Closed rahulrsingh09 closed 6 years ago
@Janatbek This is when you use Angular Cli but this wont work for this Library as this dosent use Cli.
I already Know about the same https://rahulrsingh09.github.io/AngularConcepts/faq
@Janatbek I want to embed the the third party js in this library not the app , I want this Library to be stand alone and using the third party js internally or as a peer dependency . i think you are not getting it
I am getting same issue now with third party JS library ))) let me know if you find any responce
I'm not sure if this is on the roadmap but majority of the times its always better to use peerDependencies
rather than embedded libraries.
Agreed with @izifortune 👍
For general purposes it's better to let the consumer add needed dependencies by stating them as peerDependencies
. Otherwise, the consumer might end up with momentjs
twice if he has already imported it.
Closing it for now, @rahulrsingh09, feel free to re-open if you deem necessary 👍
That's indeed what peerDependencies
are for 👍
Thank you @izifortune and @jdjuan 👍
I want to use Typed as well as untyped Js Libraries in My Project How to do this , I always get error if i try to import moment js