esbuld-visualizer

0.2.0 • Public • Published

EsBuild Visualizer

NPM Version Travis CI build status

Visualize and analyze your esbuild bundle to see which modules are taking up space.

Screenshots

pic

Installation

npm install --save-dev esbuild-visualizer

or via yarn:

yarn add --dev esbuild-visualizer

Usage

Add script to package.json for example:

esbuild-visualizer --metadata ./meta.json --exclude *.png

Options

--filename (string, default stats.html) - name of the file with diagram to generate

--title (string, default Rollup Visualizer) - title tag value

--open (boolean, default false) - Open generated file in default user agent

Disclaimer about generated files

Generated html files do not and never will contain your source code (contents of files). They can contain only js/html/css code required to build chart (plugin code) and statistical information about your source code.

This statistical information can contain:

  • size of files included in bundle
  • size of files included in source map
  • file's path
  • files hierarchy (fs tree for your files)

Upgrades

See CHANGELOG.md.

Readme

Keywords

none

Package Sidebar

Install

npm i esbuld-visualizer

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

390 kB

Total Files

16

Last publish

Collaborators

  • btd