You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agree this would be nice but not sure what approach would be most useful.
Maybe if you could submit a proof of concept we could iterate on it.
Alternatively we can just output build/stats.json and tell people to use webpack analyzer with it.
Reacted by Anders D. Johnson, Harun Hasdal, Chris Nickel and Jules Dupont
I added webpack bundle analyzer since it gives you a lot more information if we want to run stats on our bundle. I sent first PR #2359, however CI is failing on node 6. Any clue?
A bit of a hack, but you can create your own very simple script that appends the webpack-bundle-analyzer plugin to the config without ejecting. I wrote about it here: #3518
Activity
gaearon commentedon Sep 29, 2016
Agree this would be nice but not sure what approach would be most useful.
Maybe if you could submit a proof of concept we could iterate on it.
Alternatively we can just output
build/stats.jsonand tell people to use webpack analyzer with it.themre commentedon Sep 29, 2016
mxstbr commentedon Sep 29, 2016
This is what we do at
react-boilerplate, see ouranalyze.jsscript (which is invoked with thenpm run analyzecommand) and feel free to copy it!colingalindo commentedon Jan 27, 2017
Is this still a discussion? I was thinking of trying and implementing what @mxstbr mentioned.
gaearon commentedon Jan 27, 2017
Feel free to send a PR!
I’m a bit behind the issues right now but maybe other maintainers can provide feedback.
themre commentedon May 26, 2017
I added webpack bundle analyzer since it gives you a lot more information if we want to run stats on our bundle. I sent first PR #2359, however CI is failing on node 6. Any clue?
franklinjavier commentedon Nov 17, 2017
Guys, I highly recommend the Bundle Buddy tool from @samccone
https://twitter.com/franklinjavier/status/931324987654443008?s=17
trevorwhealy commentedon Nov 29, 2017
A bit of a hack, but you can create your own very simple script that appends the webpack-bundle-analyzer plugin to the config without ejecting. I wrote about it here: #3518
gaearon commentedon Jan 14, 2018
Closing in favor of more recent discussion in #1858.