Course lesson

View Package Sizes in a React App with Webpack Analyzer

Node modules add up quickly. If using webpack for bundling purposes, the webpack analyzer displays which node module dependencies are taking up the most space. Which can help answer questions like, do I actually need this? Or can I import less of the package?

Duration
5 min
Access
Included
Transcript
Retained from source evidence

Node modules add up quickly. If using webpack for bundling purposes, the webpack analyzer displays which node module dependencies are taking up the most space. Which can help answer questions like, do I actually need this? Or can I import less of the package?

https://www.npmjs.com/package/webpack-bundle-analyzer