-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimearea: language-serviceIssues related to Angular's VS Code language serviceIssues related to Angular's VS Code language servicecore: directive matchingcross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldfeatureIssue that requests a new featureIssue that requests a new featurefeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration
Milestone
Description
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
Brandinga, DmitryEfimenko, pierresh, ohois, Lonli-Lokli and 152 moreIonaru, jacsamg, njolic and playerx
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimearea: language-serviceIssues related to Angular's VS Code language serviceIssues related to Angular's VS Code language servicecore: directive matchingcross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldfeatureIssue that requests a new featureIssue that requests a new featurefeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration