Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: deprecate MaterialModule (#3840)
We've found that, with the current state of tree-shaking in the world, that using an aggregate NgModule like `MaterialModule` leads to tools not being able to eliminate code for components that aren't used. In order to ensure that users end up with the smallest code size possible, we're deprecating MaterialModule, to be removed in the a subsequent release. To replace `MaterialModule`, users can create their own "Material" modul within their application (e.g., `GmailMaterialModule`) that imports only the set of components actually used in the application.
- Loading branch information