Aurelia-validation polyfill BootstrapFormRenderer

I want to use BootstrapFormRenderer with aurelia-validation on IE. As they say in the doc, i need to use a polyfill to make it work. My question is how do i install the polyfill in aurelia ??

BoostrapFormRenderer doc:
polyfill link:

Are you using webpack or CLI?
With webpack it’s just npm i element-closest --save and import "element-closest";

I am using CLI with RequireJS

Should be no different, install with npm and add to the vendor bundle dependencies or prepend section

I already tried it but there is no way to make it work it really has strange behaviors