Skip to content

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

Closed
fkolar opened this issue Jul 5, 2018 · 6 comments
Closed

Multi lib support build in Angular 6 #11473

fkolar opened this issue Jul 5, 2018 · 6 comments
Labels
area: @angular/cli feature Issue that requests a new feature

Comments

@fkolar
Copy link

fkolar commented Jul 5, 2018

Bug Report or Feature Request (mark with an x)

- [X] bug report -> please search issues before submitting
- [X] feature request

Area

- [X ] devkit
- [x] schematics

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

@filipesilva
Copy link
Contributor

There isn't a way currently to recursively build projects, but this is something we want to add.

@filipesilva filipesilva added the feature Issue that requests a new feature label Jul 19, 2018
@intellix
Copy link
Contributor

intellix commented Aug 2, 2018

@filipesilva
Copy link
Contributor

@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.

@alan-agius4
Copy link
Collaborator

Relates to #11023

@alan-agius4
Copy link
Collaborator

Duplicate of #11002

@alan-agius4 alan-agius4 marked this as a duplicate of #11002 Jan 4, 2019
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular/cli feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

5 participants