Files
plainleaf/.air.toml
T
Zef Hemel dcc5f8992c Plug compiler: add "build" steps (esbuild/sass/copy)
Adds an optional `build:` section to plug manifests, running esbuild,  sass, or copy transforms before asset bundling. Enables plugs to ship bundled TSX/SCSS UIs (used by the upcoming configuration-manager plug).
2026-04-21 10:04:34 +02:00

37 lines
878 B
TOML

root = "."
tmp_dir = "tmp"
[build]
args_bin = []
bin = "silverbullet"
cmd = "make"
# delay = 10000
exclude_dir = ["node_modules", "website", "scripts", "client_bundle", "dist"]
exclude_file = ["public_version.ts"]
# Per-plug `assets/` folders are build outputs (see each plug's .plug.yaml
# `build:` section); watching them would cause a rebuild loop.
exclude_regex = ["_test.go", ".test.ts", "plugs/[^/]+/assets/"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "html", "ts", "tsx", "scss", "md", "yaml"]
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
stop_on_error = true
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[screen]
clear_on_rebuild = true
keep_scroll = true