Skip to content

Commit

Permalink
feat: Reduce build size from ~2.3mb to ~300kb (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerros committed Oct 11, 2023
1 parent ae8f69f commit 5fed6f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ dioxus-router = { version = "0.4", features = ["web"] }
log = "0.4.19"
dioxus-logger = "0.4.1"
console_error_panic_hook = "0.1.7"

[profile.release]
opt-level = "z"
debug = false
lto = true
codegen-units = 1
panic = "abort"
strip = true
incremental = false

0 comments on commit 5fed6f5

Please sign in to comment.