If the goal is to reduce bundle size, then you would need to have a Webpack plugin that would replace the "moment.js" dependency with your compatible library. Otherwise, even if you write on that uses the same API, "moment.js" will still be included in the bundle.
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.
If the goal is to reduce bundle size, then you would need to have a Webpack plugin that would replace the "moment.js" dependency with your compatible library. Otherwise, even if you write on that uses the same API, "moment.js" will still be included in the bundle.