JS: Optimizes release builds for size

Makes the WASM file go from 2.6MB to 2.3MB
pull/402/head
Tpt 2 years ago
parent cbc24950e3
commit e14b4eca14
  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