-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Use ngDevMode to tree shake error messages in pipes #40096
Copy link
Copy link
Closed
Labels
area: commonIssues related to APIs in the @angular/common packageIssues related to APIs in the @angular/common packagecross-cutting: tree-shakingfeature: in backlogFeature request for which voting has completed and is now in the backlogFeature request for which voting has completed and is now in the backlogrefactoringIssue that involves refactoring or code-cleanupIssue that involves refactoring or code-cleanup
Milestone
Metadata
Metadata
Assignees
Labels
area: commonIssues related to APIs in the @angular/common packageIssues related to APIs in the @angular/common packagecross-cutting: tree-shakingfeature: in backlogFeature request for which voting has completed and is now in the backlogFeature request for which voting has completed and is now in the backlogrefactoringIssue that involves refactoring or code-cleanupIssue that involves refactoring or code-cleanup
🚀 feature request
Description
Currently all the errors throwed by pipes are not being tree-shaked in production mode.
Relevant Package
@angular/common/(pipes)Example:
angular/packages/common/src/pipes/case_conversion_pipes.ts
Lines 37 to 39 in 884f743
Describe the solution you'd like
I have seen that you made a lot of progress with
ngDevMode, so I think it would be a case of using it for the purpose of making the package smaller.