chore(*): remove hammerjs and its polyfills plumbing - #4018
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the legacy HammerJS dependency and associated polyfills wiring from this Angular workspace, aligning build/test configuration and internal Ignite UI sample setup/docs with the updated gesture/touch handling approach.
Changes:
- Removed
hammerjsand@types/hammerjsfrom dependencies and lockfile. - Deleted
polyfills.tsfiles that existed solely to import HammerJS, and removed all references fromangular.jsonandtsconfig*.json. - Updated live-editing slider config generator and internal Ignite UI skill reference docs to no longer reference
HammerModule.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/tsconfig.spec.json | Removes polyfills.ts from test compilation inputs. |
| src/polyfills.ts | Deletes obsolete polyfills file (HammerJS import). |
| projects/app-lob/tsconfig.spec.json | Removes src/polyfills.ts from test compilation inputs. |
| projects/app-lob/tsconfig.app.json | Removes src/polyfills.ts from app compilation inputs. |
| projects/app-lob/src/polyfills.ts | Deletes obsolete polyfills file (HammerJS import). |
| projects/app-crm/tsconfig.spec.json | Removes src/polyfills.ts from test compilation inputs. |
| projects/app-crm/tsconfig.app.json | Removes src/polyfills.ts from app compilation inputs. |
| projects/app-crm/src/polyfills.ts | Deletes obsolete polyfills file (HammerJS import). |
| package.json | Drops hammerjs and @types/hammerjs dependencies. |
| package-lock.json | Removes HammerJS packages from the lockfile. |
| live-editing/configs/SliderConfigGenerator.ts | Removes unused HammerModule import. |
| angular.json | Removes HammerJS polyfills entries from build/test targets. |
| .claude/skills/igniteui-angular-components/references/setup.md | Removes setup guidance referencing HammerModule providers. |
| .claude/skills/igniteui-angular-components/references/directives.md | Removes touch-drag note that depended on HammerModule. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
ChronosSF
approved these changes
Aug 21, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.