vite-bundle-visualizer icon indicating copy to clipboard operation
vite-bundle-visualizer copied to clipboard

Doesn't work with npx on linux

Open BANOnotIT opened this issue 1 year ago • 1 comments

Generates file in _npx directory which is deleted shortly after usage:

/home/<username>/.npm/_npx/<some_hex_hash>/node_modules/vite-bundle-visualizer/stats.html

npx --version: 10.1.0

BANOnotIT avatar Nov 01 '23 19:11 BANOnotIT

Try use -o arg to specify the output file

#  output stats.html in cwd
npx vite-bundle-visualizer -o ./stats.html

KusStar avatar Nov 02 '23 02:11 KusStar

This solution currently works

Jaimet92 avatar Jun 06 '24 21:06 Jaimet92