const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; module.exports = { plugins: [ new BundleAnalyzerPlugin() ] } It will create an interactive treemap visualization of the contents of all your bundles. This module will help you: Realize what's really inside your bundle Find out what modules make up the most of its size Find modules that got there by mistake Optimi
![webpack-bundle-analyzer](https://cdn-ak-scissors.b.st-hatena.com/image/square/c3e6ffb737aa61b017c8acd52b1913aedd9e9343/height=288;version=1;width=512/https%3A%2F%2Fstatic-production.npmjs.com%2F338e4905a2684ca96e08c7780fc68412.png)