Skip to content

Commit

Permalink
Merge pull request #33 from holochain-apps/build/optimize-tauri-bundl…
Browse files Browse the repository at this point in the history
…e-size

build: optimize tauri bundle size
  • Loading branch information
mattyg authored Aug 7, 2024
2 parents dfd8a23 + 0d87642 commit b5d07ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ url2 = "0.0.6"
app_dirs2 = "2.5.5"
anyhow = "1"
serde_json = "1.0.120"

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

0 comments on commit b5d07ea

Please sign in to comment.