twitter / twitter-cldr-js

JavaScript implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more. Based on twitter-cldr-rb.
Apache License 2.0
346 stars 55 forks source link

Can we minify library scripts? #79

Open eniz opened 8 years ago

eniz commented 8 years ago

assets/javascripts/twitter_cldr/{{ languageCode }}.js is so big(en.js is 539 KB). It should be minify.

camertron commented 8 years ago

Hey @eniz, this library is intended to be used by people running Rails apps. The asset pipeline should do the minification for you. If you'd like to use this code as an NPM or Bower module, check out this repo. You'll find both minified and non-minified assets there.