mirror of
https://github.com/seemueller-io/yachtpit.git
synced 2025-09-08 22:46:45 +00:00
15 lines
331 B
TOML
15 lines
331 B
TOML
[build]
|
|
public_url = "./"
|
|
wasm_bindgen = "0.2.100"
|
|
|
|
[tools.wasm-bindgen]
|
|
# Enable wasm-opt for size optimization
|
|
wasm-opt = ["-Oz", "--enable-bulk-memory"]
|
|
|
|
[tools.wasm-opt]
|
|
# Additional wasm-opt optimizations for size
|
|
options = ["-Oz", "--enable-bulk-memory", "--enable-sign-ext", "--enable-mutable-globals"]
|
|
|
|
[serve]
|
|
port = 8080
|