manuelmhtr / countries-and-timezones

Minimalistic library to work with countries and timezones data
MIT License
234 stars 68 forks source link

Include es5 format? #11

Closed IgorWolbers closed 4 years ago

IgorWolbers commented 4 years ago

Could you include an es5 format? The new v2.0.5 will fail on browsers like MS Edge that do not support es2015 syntax like the use of the spread operator.

Your library is awesome, thank you for the hard work and maintenance.

manuelmhtr commented 4 years ago

Hi @IgorWolbers thanks for your comments!

Sure. Let me work this weekend to support es5.

stevenvachon commented 4 years ago

@manuelmhtr I can create a PR for this. Would you prefer ES5 source code or a Babel build step?

manuelmhtr commented 4 years ago

Hi @stevenvachon, that would be amazing! I prefer the Babel step

manuelmhtr commented 4 years ago

ES5 support is available now in v2.1.0. Thanks for your help @stevenvachon!