Skip to content

Angular 12 @Use statement causing slow compilation. #22676

Closed
@ganySA

Description

@ganySA

Please see the link angular/angular-cli#20713

The new theme API is really slow slow and problematic.

It seems related by the move to @use '~@angular/material'
statements. My compilation time with CLI has increased 5x, i am also experiencing node memory issues. Reverting back to 11 does not have this issue.

I have engaged with the CLI team but it seems this issue is material related.

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: theming

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions