Heya! I noticed the analyse tool's been languishing a little so I decided to, well, write an alternative from scratch: https://akx.github.io/webpack-xray/
It's still an early beta but it supports Webpack 3 and 4 stats files pretty nicely
Davit Yavryan
@davityavryan
Hey @akx
Aarni Koskela
@akx
:wave:
Davit Yavryan
@davityavryan
it fails for my stats.json
Aarni Koskela
@akx
Okay. Can you share it?
Davit Yavryan
@davityavryan
nope sorry :)
I will try to debug. If I will find bug easy will let you know
Aarni Koskela
@akx
Well, uhm, since it's only the home view that's breaking, try adding /#/chunks to the url? :D
(I suppose I should add an error boundary in there...)
Davit Yavryan
@davityavryan
hmmm... no error but empty list
Aarni Koskela
@akx
Mm, your stats.json doesn't have an entrypoints key, I guess
Okay, then I think there's something rather seriously wrong with the stats.json file :D
Davit Yavryan
@davityavryan
git that. will try to figure out
thanks
p.s. 94Mb stats.json file :/
Aarni Koskela
@akx
You can also try /#/modules and /#/assets...
_
Davit Yavryan
@davityavryan
probably it is huge because of sourcemaps
nope. didn't help. but thanks
Aarni Koskela
@akx
Okay. Well, I'd love to see that stats.json file, I've only tried with very limited examples so far
In the webpack-xray repo there's a tool that strips source out of stats.json files (scripts/generate-example-data.js)
Davit Yavryan
@davityavryan
oh cool
Aarni Koskela
@akx
so if you're okay with sharing the stats file without code (but paths and everything else intact), let me know
Davit Yavryan
@davityavryan
ok. sure. thanks
Aarni Koskela
@akx
also, that script isn't meant for interactive use, but I'm sure you can see where to change the paths :D