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
TimJentzsch opened this issue
Dec 23, 2024
· 5 comments
· Fixed by #206
Assignees
Labels
A-BuildRelated to the bevy build commandA-RunRelated to the bevy run commandA-WebBuilding or running Bevy apps targeting the browserC-FeatureMake something new possible
For release web builds, it's useful to run wasm-opt on the WASM binary to optimize it further.
We should provide an option to do this automatically with little configuration.
The CLI should also ask to install wasm-opt for you automatically, if you don't have it yet.
Would a feature flag work best in this scenario (enabled by default, since that seems highly desired)?
Do you think it's enough to put this behind the web feature flag (#198)?
Maybe! We should use cargo build --timings to see how much it increases the build time. If it's not significant, then we can definitely group it under web. :)
A-BuildRelated to the bevy build commandA-RunRelated to the bevy run commandA-WebBuilding or running Bevy apps targeting the browserC-FeatureMake something new possible
For release web builds, it's useful to run
wasm-opt
on the WASM binary to optimize it further.We should provide an option to do this automatically with little configuration.
The CLI should also ask to install
wasm-opt
for you automatically, if you don't have it yet.Needed for TheBevyFlock/bevy_new_2d#312.
The text was updated successfully, but these errors were encountered: