News for hackers. Stuff that matters.
Re:Microjs: Fantastic Micro-Frameworks and Micro-Libraries f... by antifa on Monday October 10, 2022 @04:18PM (#33155961)
Ironically, where I work, multiple copies of momentjs, each embedding the full folder of it's own language files, is the biggest space waster in our final webpack build.
Re:Microjs: Fantastic Micro-Frameworks and Micro-Libraries f... by laundermaf on Tuesday October 11, 2022 @02:09PM (#33166792)
There’s a webpack plugin for that. You can use it to drop all the locales.