I'm a freelance front-end architect. I work with R&D, product and design teams to implement complex projects, emphasizing easily maintainable code and a good finish.
moment.js will probably not get such an optimization. They're officially in maintenance mode, and recommend using alternatives in new projects (momentjs.com/docs/#/-project-status/)
The problem is that the dependencies you use probably still use moment, so you get it installed in addition to day.js - and that's a lot "in addition of" :)
Day.js is the best candidate for my offer here, as it is the most similar to moment already :) Creating an API that exposes similar day.js methods but provides a moment-like mutable object would allow these dependencies to use day.js as well, so moment will not be bundled in your project at all.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
moment.js will probably not get such an optimization. They're officially in maintenance mode, and recommend using alternatives in new projects (momentjs.com/docs/#/-project-status/)
The problem is that the dependencies you use probably still use moment, so you get it installed in addition to day.js - and that's a lot "in addition of" :)
Day.js is the best candidate for my offer here, as it is the most similar to moment already :) Creating an API that exposes similar day.js methods but provides a moment-like mutable object would allow these dependencies to use day.js as well, so moment will not be bundled in your project at all.