WARNING in E:\Projects\MISL\e-kyc\src\main.ts depends on hammerjs. CommonJS or AMD dependencies can cause optimization bailouts. For more info 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?
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