36 lines
866 B
TOML
36 lines
866 B
TOML
# An example Trunk.toml with all possible fields along with their defaults.
|
|
|
|
[build]
|
|
# The index HTML file to drive the bundling process.
|
|
target = "index.html"
|
|
# Build in release mode.
|
|
release = true
|
|
# The output dir for all final assets.
|
|
dist = "dist/release"
|
|
# The public URL from which assets are to be served.
|
|
public_url = "/"
|
|
# Whether to include hash values in the output file names.
|
|
filehash = true
|
|
|
|
[watch]
|
|
# Paths to watch. The `build.target`'s parent folder is watched by default.
|
|
watch = []
|
|
# Paths to ignore.
|
|
ignore = ["."]
|
|
|
|
[serve]
|
|
# The address to serve on.
|
|
addr = "127.0.0.1"
|
|
# The port to serve on.
|
|
port = 8080
|
|
# Open a browser tab once the initial build is complete.
|
|
open = true
|
|
# Disable auto-reload of the web app.
|
|
no_autoreload = true
|
|
|
|
[clean]
|
|
# The output dir for all final assets.
|
|
dist = "dist"
|
|
# Optionally perform a cargo clean.
|
|
cargo = true
|