unstale

npm / webpack-bundle-analyzer

webpack-bundle-analyzer

What changed in webpack-bundle-analyzer 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 deprecations1 performance6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

webpack-bundle-analyzer 59 changes

Deprecations 2

  • The plugin uses Webpack's infrastructure logger when available, so logging can be configured through Webpack's native infrastructureLogging configuration.

    5.4.0release notes

  • The plugin's logLevel option is deprecated in favor of Webpack's native infrastructureLogging configuration.

    5.4.0release notes

Performance 1

  • Improves report generation performance for compilations with many assets.

    5.3.2release notes

Fixes and other changes 6

  • Parsed and compressed sizes are scoped to the asset they were parsed from, so assets that reuse module IDs or share a module no longer report each other's sizes.

    5.3.3release notes

  • Resolves bundle assets and report files against the correct compiler output path when a plugin instance is shared by multiple compilers.

    5.3.2release notes

  • Parses Webpack 5 module maps nested in UMD wrappers, using bundle module IDs and runtime structure to choose among IIFE candidates.

    5.3.2release notes

  • Explicitly defines stats.toJson() options for bundle analysis, supporting Rspack 2.0 with minimal code changes.

    5.3.1release notes

  • Fixes the treemap so it reflects chunk checkbox selections.

    5.3.1release notes

  • Fixed a race condition in writeStats that could lead to incorrect content in stats.json.

    5.3.0release notes