core icon indicating copy to clipboard operation
core copied to clipboard

[admin] Display total bundle and function size in deployment details

Open husayt opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. It is very useful to know the size of deployed bundled and function size.

Describe the solution you'd like Will be very useful at the end of logs produced here https://admin.hub.nuxt.com/xxx/yyy/production/deployments/zzz to see final stats and bundle sizes

husayt avatar Aug 21 '24 17:08 husayt

Actually it is already displayed at the end of the build @husayt

CleanShot 2024-08-21 at 22 05 08@2x

atinux avatar Aug 21 '24 20:08 atinux

@atinux that is great, but I am not sure what that number is. is it total size for client bundle, server bundle, function/worker size? Also that number is in the middle of the logs.

This is what I get at the end

14:23:57.939 Uploading... (68/143)
14:23:58.555 Uploading... (93/143)
14:23:58.577 Uploading... (118/143)
14:23:58.784 Uploading... (143/143)
14:23:58.784 ✨ Success! Uploaded 75 files (68 already uploaded) (1.42 sec)
14:23:58.784 
14:23:59.298 ✨ Upload complete!
14:24:01.799 Success: Assets published!
14:24:04.712 Success: Your site was deployed!

Would be great to see here final numbers. So that I have an idea about the size of the bundle and the worker. This is what really matters to the app owner. Final stats at the end

Thank you by the way, I come back from time to time to check for updates and it is just getting better.

husayt avatar Aug 22 '24 14:08 husayt

Sadly the logs you see at the end of the one from Cloudflare itself when uploading your project and we cannot do anything about it...

The number you see is the server bundle, but let me add this as a feature in order to get back those informations and display them in our admin dashboard 🚀

atinux avatar Aug 23 '24 12:08 atinux