tauri-sys/examples/api/Trunk.toml
Jonas Kruckenberg c3e5b84282 initial commit
2022-11-01 15:19:25 +01:00

16 lines
339 B
TOML

[build]
target = "./index.html"
[watch]
ignore = ["./src-tauri"]
[serve]
address = "127.0.0.1"
port = 1420
open = false
[[hooks]]
# Runs SSG on production builds
stage = "post_build"
command = "bash"
command_arguments = ["-c", "if [[ $TRUNK_PROFILE == \"release\" ]]; then cargo run --release --features ssg -- $TRUNK_STAGING_DIR; fi"]