Skip to content
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

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

Open
husayt opened this issue Aug 21, 2024 · 3 comments
Open

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

husayt opened this issue Aug 21, 2024 · 3 comments
Labels
admin enhancement New feature or request

Comments

@husayt
Copy link

husayt commented Aug 21, 2024

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

@atinux
Copy link
Contributor

atinux commented Aug 21, 2024

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

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

@atinux atinux added the question Further information is requested label Aug 21, 2024
@husayt
Copy link
Author

husayt commented Aug 22, 2024

@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.

@atinux
Copy link
Contributor

atinux commented Aug 23, 2024

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 atinux added enhancement New feature or request admin and removed question Further information is requested labels Aug 23, 2024
@atinux atinux changed the title To display total bundle and function size in deployment logs. [admin] Display total bundle and function size in deployment details Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants