Skip to content
Why Your Webpack Bundle Has Duplicate Dependencies episode artwork

Jun 28, 2026 7 min

Why Your Webpack Bundle Has Duplicate Dependencies

from The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack Hosted by Fexingo

Episode 79 digs into a silent performance killer: duplicate dependencies in your Webpack bundle. Lucas explains how one stray lodash import can balloon bundle size by 200 KB, and walks through real-world examples from a production React app that accidentally included two versions of the same date library. Luna shares a horror story from a past project where duplicate Moment.js instances caused a 1.5-second delay on page load. Together, they cover how to catch duplicates with Webpack Bundle Analyzer and deduplicate via package.json resolutions and Yarn Berry's PnP mode. By the end, you'll know how to shrink your bundle without changing a line of business logic. #Webpack #BundleOptimization #JavaScript #TreeShaking #Deduplication #WebPerformance #Frontend #React #NodeModules #YarnBerry #BundleAnalyzer #Lodash #MomentJS #TechPodcast #WebDevPodcast #FexingoBusiness #BusinessPodcast #Technology Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Why Your Webpack Bundle Has Duplicate Dependencies

0:00 7:50

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack?

This episode is 7 minutes long.

When was this The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack episode published?

This episode was published on June 28, 2026.

Can I download this The Web Development Podcast with Fexingo: Frontend, Backend, and Modern Web Stack episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.