I checked the file-size of my ./node_modules folder and it seems that moment.js is the heaviest non-C library. 2.1MB is quite a lot. A quick look in the folder size shows:

Most of the weight comes from publishing compressed versions of moment.js with npm as well as double-publish all the locales. But the locales alone are quite heavy by themselves.
As such I thought it might be good for moment.js and the community to reduce this amount?!
I checked the file-size of my
./node_modulesfolder and it seems that moment.js is the heaviest non-C library. 2.1MB is quite a lot. A quick look in the folder size shows:Most of the weight comes from publishing compressed versions of moment.js with
npmas well as double-publish all the locales. But the locales alone are quite heavy by themselves.As such I thought it might be good for moment.js and the community to reduce this amount?!
./srcfolder from being published tonpm?./minfolder from being published tonpm?./localesfolder into a separatenpmpackage to reduce moment to the minimum?