Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
moment.js only load required/configured locales #1779
trying to slim down the Plone default.js which has grown to whooping 1.5mb in my project
I found that for example moment-with-locales.min.js is already 172kb because all locales are included.
Now we're at 55kb (3x drop) o/ Thanks for the suggestion!
UPDATE: plus 2-3kb for western locales and 5-6kb for russian, ukrainian, slovenian, arabic etc)