esbuild-visualizer icon indicating copy to clipboard operation
esbuild-visualizer copied to clipboard

Exclude flag from docs not recognized

Open kle-pra opened this issue 1 year ago • 1 comments

Example command, to exclude .ttf files from analyze:

esbuild-visualizer --open true --metadata ./dist/stats.json --exclude *.ttf --filename ./dist/stats.html

Output:

Options:
  --version   Show version number                                      [boolean]
  --filename  Output file name                [string] [default: "./stats.html"]
  --title     Output file title         [string] [default: "EsBuild Visualizer"]
  --template  Template type
        [string] [choices: "sunburst", "treemap", "network", "list", "raw-data",
                                              "flamegraph"] [default: "treemap"]
  --metadata  Input file name             [array] [default: ["./metadata.json"]]
  --open      Open file in browser                    [boolean] [default: false]
  --help      Show help                                                [boolean]

Unknown argument: exclude

Best regards

kle-pra avatar May 08 '24 06:05 kle-pra

Option was removed here https://github.com/btd/esbuild-visualizer/commit/14f5d0c975444aeb5cc7b61bc569316c0f50c298

Actually I'd find it very helpful if the CLI option would still be there and then passed into the UI input as starting value.

janpapenbrock avatar Jul 01 '24 19:07 janpapenbrock