-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Description
🚀 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
| if (typeof value !== 'string') { | |
| throw invalidPipeArgumentError(LowerCasePipe, value); | |
| } |
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.
Reactions are currently unavailable
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