-
Notifications
You must be signed in to change notification settings - Fork 12k
Multi lib support build in Angular 6 #11473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There isn't a way currently to recursively build projects, but this is something we want to add. |
Maybe possible using TS 3.0 Project references? https://blogs.msdn.microsoft.com/typescript/2018/07/30/announcing-typescript-3-0/#project-references |
@intellix it helps, but is not enough by itself. Building a library is not just a matter of running typescript. Other things, like css preprocessors and ngc also need to run. |
Relates to #11023 |
Duplicate of #11002 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Area
Versions
Angular CLI: 6.0.8
Node: 8.9.1
OS: darwin x64
Angular: 6.0.7
Repro steps
I am not even sure if this is a bug or more it should be a feature or I am missing something.
I have multi lib project created with libraries called: A, B. B library imports some modules from A.
When I run
ng build B
it fails as it is missing dependencies that exists inside A. So I need to run manually A and then B to make all works.And I am not sure how to configure existing project to trigger build for project A first and then B. Are there a way how to specify this dependency?
Desired functionality
Option to specify library depedency so when I build project B it will automatically build project A or some kind of option to specify
ng build A,B
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: