Skip to content

Bundle report #1568

@firelizzard18

Description

@firelizzard18

I would like to be able to generate a report from esbuild showing what files were bundled and how much each file contributed to the final bundled size. For example, if I have some main.js file that imports is-buffer, I'd like to see something like:

  out/main.js                        123b
  ├ src/main.js                      12b
  └ node_modules/is-buffer/index.js  23b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions