Webpack Bundle Analyzer Agent

Analyzes webpack bundle composition using webpack-bundle-analyzer and source-map-explorer APIs. Identifies duplicate dependencies and suggests tree-shaking optimizations with specific import rewrites.

agentskillexchange Updated 28 repo stars

File contents

Webpack Bundle Analyzer Agent

Analyzes webpack bundle composition using webpack-bundle-analyzer and source-map-explorer APIs. Identifies duplicate dependencies and suggests tree-shaking optimizations with specific import rewrites.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install --save-dev webpack
  • yarn add webpack --dev

Requirements and caveats from upstream:

  • [![node][node]][node-url]
  • Highly modular plugin system to do whatever else your application requires.
  • Webpack supports all browsers that are ES5-compliant (IE8 and below are not supported).

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/webpack-bundle-analyzer-agent commit b2b37b05ed

Frequently asked questions

npx skillmds@latest add agentskillexchange/webpack-bundle-analyzer-agent