summary refs log tree commit diff stats
path: root/Trunk.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Trunk.toml')
-rw-r--r--Trunk.toml47
1 files changed, 7 insertions, 40 deletions
diff --git a/Trunk.toml b/Trunk.toml
index 7a8f0b4..68c3bf0 100644
--- a/Trunk.toml
+++ b/Trunk.toml
@@ -1,45 +1,12 @@
-[build]
-target = "index.html"
-release = false
-dist = "dist"
-public_url = "/"
-filehash = true
-
-# Whether to inject scripts (and module preloads) into the finalized output.
-inject_scripts = true
-
-# Run without network access
-offline = false
-# Require Cargo.lock and cache are up to date
-frozen = false
-# Require Cargo.lock is up to date
-locked = false
-minify = "on_release" # can be one of: never, on_release, always
-# Allow disabling sub-resource integrity (SRI)
-no_sri = false
-
-[watch]
-# Paths to watch. The `build.target`'s parent folder is watched by default.
-watch = []
-ignore = []
+[[hooks]]
+stage = "pre_build"
+command = "sh"
+command_arguments = [
+  "-c",
+  "tailwindcss -i input.css -o public/tailwindcss-output.css",
+]
 
 [serve]
 addresses = ["127.0.0.1"]
 port = 3000
 open = false
-
-# Whether to disable fallback to index.html for missing files.
-# no_spa = false
-# Disable auto-reload of the web app.
-# no_autoreload = false
-# Disable error reporting
-# no_error_reporting = false
-# Additional headers set for responses.
-# headers = { "test-header" = "header value", "test-header2" = "header value 2" }
-# Protocol used for autoreload WebSockets connection.
-# ws_protocol = "ws"
-# The certificate/private key pair to use for TLS, which is enabled if both are set.
-# tls_key_path = "self_signed_certs/key.pem"
-# tls_cert_path = "self_signed_certs/cert.pem"
-# Additional headers to send. NOTE: header names must be valid HTTP headers.
-# headers = { "X-Foo" = "bar" }