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
The w4 watch command is mostly targeted at fast development, and for development it's generally useful to have debug symbols available.
I'd suggest having a script that automatically builds in release with wasm-opt if you want to keep accurate track of the final size.
You could also override the dev/debug profile in your Cargo.toml if you always want to build an optimized binary even with cargo build (and cargo build --debug), though I wouldn't recommend it, and it isn't really useful without wasm-opt either.
Running
w4 watch
usescargo build
to rebuild, which is the debug build and generates warning about oversize. It should probably use the release build.The text was updated successfully, but these errors were encountered: