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

Print the binary size as part of Done in ...s message #1465

Open
rimutaka opened this issue Jan 11, 2025 · 0 comments
Open

Print the binary size as part of Done in ...s message #1465

rimutaka opened this issue Jan 11, 2025 · 0 comments

Comments

@rimutaka
Copy link

💡 Feature description

I'd like to know the binary size every time it is built.
It is a very useful piece of info that requires extra steps or a workaround to obtain at the moment.

The new message with the minimal change may look like this:

[INFO]: ✨   Done, 156,858 bytes in 0.36s`

A more informative output may look like this:

[INFO]: ⬇️  Installing wasm-bindgen...
[INFO]: 🗜️  Binary size: 156,858 bytes
[INFO]: ✨  Build time: 0.36s
[INFO]: 📦  Location: vue/src/wasm-rust.

I am happy to submit a PR if the maintainers are willing to consider it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant