initial commit
This commit is contained in:
commit
c3e5b84282
54 changed files with 2009 additions and 0 deletions
16
examples/api/Trunk.toml
Normal file
16
examples/api/Trunk.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
[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"]
|
Loading…
Add table
Add a link
Reference in a new issue