In my workplace, we have a large AngularJS application written in ES5 that is scheduled for migration soon. Rather than jumping straight to a new JS framework like Angular 2+ or React, I am considering taking the first step by migrating the current app to ES2015. However, due to the size of the production app, it would be more feasible to handle this migration gradually.
I have searched for tutorials on using AngularJS with ES2015, but have not found any that address the specific challenge of dealing with a mix of ES5 and ES2015 files.
Additionally, the current ES5 app utilizes lazy loaded routes with ocLazyload + ui-router, and I am uncertain about how this will integrate with ES2015 module loaders such as SystemJS or Webpack.
Does anyone have experience handling this particular scenario? Your insights are much appreciated.
Thank you in advance.