You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use the build artifacts in other angular-cli project?
For example, I created project "A" built it and published. Then I have created project "B" and added A to its dependencies (node_modules).
Currently this is the artifacts of project A:
Lets say that Project A has some components I want to use in project B, how can I do it - is it even possible with the current cli version?
I don't have any specific support for that, no. The recommended approach would be to create a third project, like a library, that both apps depended on.
I think building libraries is totally missing at the moment. We should try to get "ng release" command which npm releases a package that can be consumed easily by others.
Activity
filipesilva commentedon Oct 17, 2016
I don't have any specific support for that, no. The recommended approach would be to create a third project, like a library, that both apps depended on.
BernhardRode commentedon Oct 18, 2016
I think building libraries is totally missing at the moment. We should try to get "ng release" command which npm releases a package that can be consumed easily by others.
Or did I miss something?!?
filipesilva commentedon Oct 23, 2016
@BernhardRode that's being tracked in #1692.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.