jazz-community / rtc-workitem-bulk-mover-ui

Plugin enabling multiple RTC Work items to be moved to a new Project Area
MIT License
7 stars 8 forks source link

findIndex Method Problem #11

Closed kurtiyil closed 6 years ago

kurtiyil commented 6 years ago

Hi, We test the plugin with IE 11 and getting error about findIndex method in bulk-mover.js. I think IE 11 doesn't support the method. Thank you.

innerjoin commented 6 years ago

@kurtiyil Thank you for your bug report. You are right, according to MDN, Internet Explorer doesn't support the findIndex. Backports to ES5 compatible browsers are made with babel, but it seems that we only backport ES2015 features, instead of all of them (ES2015, ES2016, ES2017).

Solution Replace npm package babel-preset-es2015 with babel-preset-env and update its usage in webpack.config.js

innerjoin commented 6 years ago

Sorry for the late reply, I struggled with the migration to babel-preset-env. I will try this as soon as possible again, hopefully it works.