Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just pushed live an app today that I had to cave and add babylon-polyfill so it would work in IE 11 after trying to polyfill a dozen missing es6 runtime features from various sources.

That made the final JS output 25% larger, a 90kb increase from the polyfill library alone, so here's a serious optimization waiting to happen (the natural dying of an older browser).



Couldn't you load babylon only in case the browser lacks the desired features?


I ran into the exact same issue not too long ago.

As an alternative, check out:

https://polyfill.io/v2/docs/




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: