mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Use wasm-opt when compiling for web
This commit is contained in:
@@ -22,3 +22,5 @@ egui_web = { path = 'egui_web' }
|
||||
# opt-level = 1 # very slow and big wasm. Don't do this.
|
||||
opt-level = 2 # fast and small wasm, basically same as `opt-level = 's'`
|
||||
# opt-level = 3 # unecessarily large wasm for no performance gain
|
||||
|
||||
# debug = true # include debug symbols, useful when profiling wasm
|
||||
|
||||
Reference in New Issue
Block a user