-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Webpack Dashboard #463
Comments
Already discussed in #449 |
Yea, let’s wait it out a little bit. |
No, it just seemed like a really nice project - but you're right, maybe a little premature to integrate it. Thanks for the create-react-app project by the way; makes knocking up little experiments so easy, whereas before I just wouldn't bother. Cheers! |
@gaearon what do you think of considering webpack-dashboard again, given that it's been around for one year? |
What information do you find valuable in particular? |
I'm particularly interested in the module size breakdown, i.e some feedback that would make me more thoughtful when doing another Maybe adding webpack bundle analyzer (#2359) can improve the feedback and thus make a positive impact on the obesity many modern web apps (including mine) suffer with. |
The problem is that the stats shown by Webpack dashboard are wrong. They are not representative of real file size distribution because they don't take dead code elimination and minification into account. I think it's better to educate users about measuring their dependencies with sourcemap explorer that shows real numbers, than show wrong numbers immediately. |
Once it's over 512 kB we show a warning that includes a link to instructions on both bundle splitting and dependency analysis with sourcemap explorer. So I don't think it's accurate to say we don't help you learn about those tools. |
How about electron-webpack-dashboard ? Does it show more accurate size estimations ? |
Last time I checked its numbers were wrong too. They might have fixed it by now, but maybe not. I still suggest using |
Would it be possible to integrate Webpack Dashboard? Currently this is possible once you've ejected, but I think a lot of users would benefit from it who may not want to eject just to have this plugin.
https://github.com/FormidableLabs/webpack-dashboard
The text was updated successfully, but these errors were encountered: