-
Notifications
You must be signed in to change notification settings - Fork 12k
Angular cli - not removing dependencies of unused library modules / components #14052
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
@filipesilva linked isue is #13082 |
Hey @yansokalau I did see you added a repro to #13082 but haven't had time to look into it to see if it's the same as #13082 (comment). |
Also related to: #13635 |
Hello @filipesilva, |
Any progress on this topic? Working a library where developers can pick and choose what to import without bunding the entire list of components they might never use. This issue is kind of a big deal. |
can we expect a fix of this before v9 (before ivy)? |
Upon examination of the reproduction, it appears that the By reverting the option to its original state of disabled, the problem described is no longer present. Closing the issue as this appears to be a project configuration issue rather than a systemic defect. If anyone is encountering similar issues but not related to the |
@clydin It's just a simple example. The issue is not related to |
The issue as reported was due to the option and the example demonstrated this. As noted above, if anyone is encountering issues not related to the option, please open a new issue with details and a minimal reproduction. Also please ensure the latest actively supported version of the CLI is used as any issue encountered may already have been corrected. |
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
Command (mark with an
x
)Is this a regression?
The BUG is presented in previous version as well.
Description
Unused (not imported) modules of angular library are included to build made in production mode. Everything is generated by cli, nothing were changed manually. Reproduction is below.
🔬 Minimal Reproduction
https://github.com/yansokalau/angular-library-test project where the issue can be reproduced, steps are described here
🌍 Your Environment
Please let me know if more information is required. Thank you.
The text was updated successfully, but these errors were encountered: