Open Shofol opened 4 years ago
I agree and wish for ES modules version
In the meantime you can add hammer js in angular.json
"build": { .... "allowedCommonJsDependencies": [ "hammerjs", .... ] },
@maranmaran, it will just stop the warning, right?
@Shofol yes
I agree and wish for ES modules version
In the meantime you can add hammer js in angular.json
"build": { .... "allowedCommonJsDependencies": [ "hammerjs", .... ] },
Thank you, for me with Angular 11.2.x it must be set at build: .... { options: ... { "allowedCommonJsDependencies": [ "hammerjs", .... ] },` see: https://angular.io/guide/build#configuring-commonjs-dependencies
So, I think we need some ECMA module for HammerJS to implement it as optimized in Angular. Does HammerJS has some module like this?