Open

Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Building our NX monorepo, particularly when utilizing M3 material components at runtime, is experiencing noticeable delays. This slowdown in compilation time is impacting our development efficiency.
Without M3, the compilation process takes approximately 2 seconds. However, with M3 integrated, the compilation time extends to 40 seconds or more.
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
.
Actual Behavior
.
Environment
- Angular: v18.0.0-rc.0
- CDK/Material: v18.0.0-rc.0
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): mac