webpack-contrib / webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for vite?

windmillcode0 opened this issue · comments

Feature request

any support for vite?

Vite uses webpack?

however when we run analyze on our angular vite application we get errors
TypeError: Cannot read properties of undefined (reading 'filter')
Here was the full issue we raised with the angular team
angular/angular-cli#27190

Vite runs on Rollup, not webpack

So I suppose no support? then

@windmillcode0 The original issue angular/angular-cli#27190 is not about vite, it is about stats.json without the assets field, but without this fields we can't undestand generated files

theres vite-bundle-visualizer but their UI is not sophiscated as your mabye you can take a look

I think it's better to open issue in their repo to improve UI then.

Very well I was wondering if this tool can do both, and become the go to tool, we might make a PR. You can close if you are not thinking about integrating vite but the major js frameworks are going that direction