I am using a package for animations called AOS (animate on scroll library https://michalsnik.github.io/aos/ ) . Unfortunately the aos/src/js/helpers/detector.js has a “class Detector” definition which stops IE11 js execution cold.
I have already tried yarn add remy/polyfills and require( ‘polyfills’ ); in main.js above the AOS include statement. It also seems like we have babel present with babel-code-frame and babel-runtime packages. (although I am not familiar with babel configuration). Just wondering how I can get a polyfill to stick or otherwise work around this “class” issue by possibly changing webpack configuration or something that can leverage babel perhaps.