angular-tree-components adds polyfill for closest to the bundle. Angular CLI does not add an option to add polyfill to a library and there are good reasons why a library shouldn't add polyfill.
But the angular-tree-component polyfill for closest seems to not even be needed at all. There are no closest calls in the lib folder. It was used starting in 1.1.9 in the tree.component.tsonMousedown. That part is now very different.
Because IE11 is somehow still a thing a new configuration for an es5 build should be added so the example app can be tested there.
angular-tree-components adds polyfill for
closest
to the bundle. Angular CLI does not add an option to add polyfill to a library and there are good reasons why a library shouldn't add polyfill. But the angular-tree-component polyfill forclosest
seems to not even be needed at all. There are noclosest
calls in the lib folder. It was used starting in 1.1.9 in thetree.component.ts
onMousedown
. That part is now very different. Because IE11 is somehow still a thing a new configuration for an es5 build should be added so the example app can be tested there.