webpack-split-chunks-analyzer is a webpack plugin (v0.3.2) that helps developers debug how their application is dynamically loaded by webpack, specifically focusing on split chunks behavior. It visualizes and reports chunk splitting decisions, making it easier to understand and optimize bundle splitting. The package requires webpack 5 and Node >=18, ships TypeScript types, and is released on npm with an active development cadence. Key differentiators: provides a dedicated granular view of split chunks rather than generic bundle analysis, supports real-time visualization during development, and integrates directly into the webpack build pipeline.
npm install webpack-split-chunks-analyzerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to add the SplitChunksAnalyzerPlugin to a webpack configuration, with optional customization for output file and auto-open behavior.
Upgrade webpack to version 5 or later.
Add 'chunks-analyzer.json' to .gitignore.
If you depend on the specific output format, update your parsing logic. See changelog.
Run: npm install webpack-split-chunks-analyzer --save-dev
Ensure you import correctly: const { SplitChunksAnalyzerPlugin } = require('webpack-split-chunks-analyzer');Install and import from 'webpack-split-chunks-analyzer' instead of referencing webpack.optimize.