ngx-translate / http-loader

A loader for ngx-translate that loads translations with http calls
MIT License
191 stars 69 forks source link

ES5 not supported anymore since version 5 #79

Closed vdlindk closed 4 years ago

vdlindk commented 4 years ago

Why is ES5 not supported anymore. As a consequence we aren't able tot support IE11 anymore (which is still our company browser)

ocombe commented 4 years ago

Hello, because Angular v10 doesn't support IE11 (and ES5) anymore

vdlindk commented 4 years ago

thanks for the feedback ... another argument that we can contribute to the discussion on replacing our company browser

liesahead commented 4 years ago

@ocombe , actually, angular supports IE9-IE11, it will only drop support for IE9 and IE10 in angular11, but will continue to support IE11.

ocombe commented 4 years ago

You are right, Angular still supports IE11, but according to the update guide for v10:

The Angular Package Format has been updated to remove esm5 and fesm5 formats. These are no longer distributed in our npm packages. If you don't use the CLI, you may need to downlevel Angular code to ES5 yourself.

And in the Angular package format for v10 you can find the following text:

ES2015 Language level is now the default language level that is consumed by Angular CLI and other tooling. If applications still need to support ES5 browsers, then Angular CLI can downlevel the bundle to ES5 at application build time via differential loading and builds feature.

liesahead commented 4 years ago

@ocombe , I just misunderstood what you meant then 🙂 whatever, our team has no problems with http-loader as it works as good as before even in IE11.