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
Which @angular/* package(s) are relevant/related to the feature request?
common
Description
With the popularity of standalone components (pipes/directives), powered by Angular as well, there is a possibility that some components will be unused in templates while still imported by parent component, and so will increase bundle
Proposed solution
Report during the build that some.pipe/directive is imported but not used.
It can be controlled via angulqrCompilerOptions of tsconfig
Alternatives considered
Nothing
Reacted by Brandinga, Dmitry A. Efimenko, Pierre, Oliver Hois, Lonli-Lokli, Thomas Orlowski, nifiro, Samuel Fernández, zetti-caletti, MichielKikkert and 147 more
Reacted by Jeroen Akkerman, Jacob Samuel G., Neno and Ezeki Zibzibadze
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
I think this is an important feature for projects.
It does not necessarily need to be in simple compilation (to maintain performance) => This could be an option or an specific command.
Reacted by Tobi, feichin-noreja, robertIsaac, mkroeders, collderart, Nils B and Markus Ahrweiler @Amcon Software GmbH
Activity
pkozlowski-opensource commentedon Jul 9, 2022
It is in the works :-)
angular-robot commentedon Sep 28, 2022
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
angular-robot commentedon Oct 17, 2022
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
27 remaining items
clem4net commentedon Jun 24, 2024
I think this is an important feature for projects.
It does not necessarily need to be in simple compilation (to maintain performance) => This could be an option or an specific command.
t-mish commentedon Jul 24, 2024
feat(compiler): add diagnostic for unused standalone imports (angular…
angular-automatic-lock-bot commentedon Oct 4, 2024
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.