JS: Optimizes release builds for size

Makes the WASM file go from 2.6MB to 2.3MB
pull/409/head
Tpt 2 years ago committed by Thomas Tanon
parent 9729ec8ed3
commit df2233c51c
  1. 3
      Cargo.toml

@ -16,3 +16,6 @@ members = [
[profile.release] [profile.release]
lto = true lto = true
codegen-units = 1 codegen-units = 1
[profile.release.package.oxigraph_js]
opt-level = "z"

Loading…
Cancel
Save