DEV Community

Discussion on: Having Moment.js Replacements Is Not Enough

Collapse
 
cjthompson profile image
Chris Thompson

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.