Answer the question
In order to leave comments, you need to log in
How to add a custom project to an existing Angular (pro)?
I have a set of *.ts files that are bundled with webpack into a js output file (project) Project1 .
How can this Project1 be imported into the existing Angular Project2 , so that Project1 can be used from Project2 ?
So that Angular components can call functions from Project1
I tried to create a library for this in Angular. But the library, like Angular itself, does not have a webpack configurator. Therefore, Project1 fails to build with its webpack.config and integrate with existing Angular.
I have already spent 2 weeks looking for a solution, if anyone can tell me, I will be very grateful
Answer the question
In order to leave comments, you need to log in
Either I didn’t understand something, or this is
https://github.com/shlomiassaf/angular-library-starter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question