Nolanus / ngx-page-scroll

Animated scrolling functionality for angular written in pure typescript
https://nolanus.github.io/ngx-page-scroll/
MIT License
477 stars 106 forks source link

ES5/IE11 Support Dropped in v7? #418

Closed JamesIves closed 3 years ago

JamesIves commented 3 years ago

First of all wanted to thank you for your work on this!

I was just wondering if es5 / ie11 support was dropped from this package? I see no mention of it occurring but I'm having problems with es6 syntax making its way into my prod scripts using version 7. I'm updating my app to Angular 10 and I'm having problems with it as a result because it breaks my page for IE11 users.

I'm not sure if this was intentional or not, but it looks like the target flag in the tsconfig.json file was changed from es5 to es2015 between versions 6 and 7.0.3 (6 worked). Is there any chance this support could be added back, or should I use an earlier version (I see 7.0.1 has the target set to es5 too)?