Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Visualize vite bundle, like [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer).

A wrapper of [rollup-plugin-visualizer](https://github.com/btd/rollup-plugin-visualizer).
A wrapper of [rollup-plugin-visualizer](https://github.com/btd/rollup-plugin-visualizer).

> In most scenarios you shouldn't need this library, the recommended solution is to add
`rollup-plugin-visualizer` directly to your vite configuration. However, if you are using
Expand Down Expand Up @@ -31,7 +31,7 @@ Usage:

Options:
-h, --help Display this message
--template -t <template> Template to use, options are "raw-data" (JSON), "treemap", "list", "sunburst" and "network" (default: treemap)
--template -t <template> Template to use, options are "raw-data" (JSON), "treemap", "treemap-3d", "list", "sunburst" and "network" (default: treemap)
--output -o <filepath> Output file path, should be "**/*.html" or "**/*.json" (default: /var/folders/lb/9tn84c8x42nctvbs1fb3vxd40000gn/T/tmp-20782-nmqZuvXaZNxh/stats.html)
--open <open> Should open browser after generated, except when template is "json" (default: true)
--config -c <file> Use specified vite config file
Expand Down
2 changes: 1 addition & 1 deletion demo/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react-dom": "18.2.17",
"@vitejs/plugin-react": "4.2.1",
"typescript": "5.3.3",
"vite": "5.0.6"
"vite": "7.3.6"
},
"license": "MIT"
}
Loading