-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: hammer migration should add "HammerModule" if needed (#17444)
The v9 HammerJS migration should add the `HammerModule` to the app module if needed. Additionally if HammerJS is not used in templates (or in general), we remove references to the "HammerModule". This scenario can happen if someone updates to v9 Angular while keeping Angular Material v8. In that case, the author will add the `HammerModule` to the app module and whenever the update to v9+ Angular Material is performed, the `HammerModule` is not needed anymore.. so we can remove it automatically.
- Loading branch information
1 parent
d3512c0
commit 2f197cd
Showing
2 changed files
with
217 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.