As mentionned in #523, we are currently using moment/min/moment-with-locales.min which weights 289.5K (63.8K) only to output the time ago information.
Even "worse", we don't even use the locales from the library for the translations, instead, we override them with our own wordings.
@ocarreterom proposed we switch to date-fns which is kind of a lodash for date handling, and will have a wayyyy smaller footprint, he will be working on the PR for this change 🎉
/cc @lex111
As mentionned in #523, we are currently using
moment/min/moment-with-locales.minwhich weights 289.5K (63.8K) only to output the time ago information.Even "worse", we don't even use the locales from the library for the translations, instead, we override them with our own wordings.
@ocarreterom proposed we switch to
date-fnswhich is kind of alodashfor date handling, and will have a wayyyy smaller footprint, he will be working on the PR for this change 🎉/cc @lex111