minimize release size

This commit is contained in:
b1ek 2023-08-12 02:41:09 +10:00
parent 5c1cdd25bf
commit 0474815937
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 8 additions and 1 deletions

View File

@ -21,3 +21,10 @@ serde_json = "1.0"
# this feature is used for production builds or when `devPath` points to the filesystem # this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!! # DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"] custom-protocol = ["tauri/custom-protocol"]
[profile.release]
lto = true
opt-level = "z"
strip = true
codegen-units = 1
panic = "abort"