Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize #64

Merged
merged 3 commits into from
Oct 11, 2017
Merged

Optimize #64

merged 3 commits into from
Oct 11, 2017

Conversation

ephys
Copy link
Contributor

@ephys ephys commented Oct 10, 2017

This PR optimizes the library as discussed in #63

Bundled, this library is now 11KB (+ 6KB per loaded locale) instead of the previous 146KB (minified, no gzip).

Breaking changes:

  • Using this library now requires an environment that supports String.prototype.padStart available (can be polyfilled).
  • Using this library in the browser now requires the developer to manually select which locale they want to support (details in the readme).

I did not increase the version number, so semver-major should be incremented prior to publishing :)

@michaelwittig michaelwittig merged commit dfdb000 into michaelwittig:master Oct 11, 2017
@michaelwittig
Copy link
Owner

released as i18n-iso-countries@3.0.0
Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants