Skip to content

Commit bb95987

Browse files
committed
perf(panel): optimize WASM bundle size with wasm-opt
1 parent 55c4126 commit bb95987

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

rustmail_panel/Trunk.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
[build]
22
release = true
3-
generate-integrity = false
3+
generate-integrity = false
4+
5+
[[hooks]]
6+
stage = "post_build"
7+
command = "sh"
8+
command_arguments = ["-c", "find dist -name '*.wasm' -exec wasm-opt -Oz {} -o {} \\;"]

0 commit comments

Comments
 (0)