- Webpack Configuration: Including Specific Moment.js Locale· 2 min read
Keep only the Moment.js locales you need in Webpack with ContextReplacementPlugin, so the bundle stops shipping every locale, and check the size drop.
1 post
Keep only the Moment.js locales you need in Webpack with ContextReplacementPlugin, so the bundle stops shipping every locale, and check the size drop.