[build] dist = "dist" filehash = true minify = "on_release" target = "index.html" [watch] ignore = ["dist", "target"] watch = ["src", "style", "assets"] [serve] address = "127.0.0.1" open = false port = 3000 # Proxy API calls to the Rust orchestrator [[serve.proxy]] backend = "http://127.0.0.1:8080/" rewrite = "/api/{tail}" ws = true [clean] cargo = true dist = "dist" # Release mode optimizations are already set in main [build] section above # TailwindCSS processing - temporarily disabled to test build # [[hooks]] # stage = "pre_build" # command = "npx" # command_arguments = ["tailwindcss", "-i", "./style/input.css", "-o", "./style/output.css", "--watch"] # [[hooks]] # stage = "build" # command = "npx" # command_arguments = ["tailwindcss", "-i", "./style/input.css", "-o", "./style/output.css", "--minify"] # PostCSS processing for production - temporarily disabled to test build # [[hooks]] # stage = "post_build" # command = "npx" # command_arguments = ["postcss", "dist/*.css", "--use", "autoprefixer", "--replace"] # Service Worker registration [build.tools] sass = "style/input.scss"