react-universally icon indicating copy to clipboard operation
react-universally copied to clipboard

webpack-bundle-analyzer not showing bundle dependencies

Open jordmccord opened this issue 7 years ago • 3 comments

Just a heads up that for some reason the analyze:client script is not showing the dependencies of each bundle on the interactive report. I'm currently looking to see why but I thought I'd make every aware.

jordmccord avatar Nov 16 '17 20:11 jordmccord

I had a similar issue some time ago. The solution was to modify https://github.com/ctrlplusb/react-universally/blob/d71b1e4475b31155260ea7ad3d793890aef5aed4/internal/scripts/analyze.js#L41 to JSON.stringify(stats.toJson(), null, 4)

Not sure if it's related to your issue though.

menberg avatar Nov 27 '17 02:11 menberg

That did the trick, thanks for that

jordmccord avatar Nov 27 '17 10:11 jordmccord

Would be great to get this fix into next branch. Are either of you up for creating a PR?

ctrlplusb avatar Mar 26 '18 15:03 ctrlplusb