digitalascetic / ngx-pica

@digitalascetic/ngx-pica is an Angular(LTS) module to resize images files in browse
36 stars 26 forks source link

Syntax error in Internet Explorer #41

Closed Rockstar311 closed 3 years ago

Rockstar311 commented 4 years ago

After import NgxPicaModule in AppModule and use in tsconfig "target": "es5" to serve in IE

image

I get an Error image error redirect us to line with arrow function (arrow function not supported in IE)

image

Suave-Universal commented 3 years ago

Facing same issue while loading my code in Edge browser

chmop commented 3 years ago

Same issue here The arrow function comes from exifr I think es5 builds should import the legacy version of exifr

edezacas commented 3 years ago

We've released a new version 10.1.0 updating exifr dependency to the last version 6.0.0. This may be fix this issue. Otherwise you can open a issue to https://github.com/MikeKovarik/exifr/issues