ng-bundle-analyzer

Generate and display treemaps of Angular bundle.

Usage no npm install needed!

<script type="module">
  import ngBundleAnalyzer from 'https://cdn.skypack.dev/ng-bundle-analyzer';
</script>

README

NG Bundle Analyzer - Treemaps of your bundle.

This package contains no new ideas. It's just a wrapper around the excellent Angular CLI and Treemap Explorer.

alt text

Installation

Using npm in your Angular project:

$ npm i ng-bundle-analyzer -D

Execution

Using npx in your Angular project:

$ npx ng-bundle-analyzer

The summary page (shown above) should open automatically in your browser.