[[proxy]] rewrite = "/api/" backend = "http://localhost:3000/api/" [[hooks]] stage = "build" command = "sh" command_arguments = ["-c", "npx @tailwindcss/cli -i input.css -o public/tailwind.css"] [[hooks]] stage = "post_build" command = "sh" command_arguments = ["-c", "sed -i '' -e 's/]*>//g' -e 's/]*>//g' \"$TRUNK_STAGING_DIR/index.html\" || sed -i -e 's/]*>//g' -e 's/]*>//g' \"$TRUNK_STAGING_DIR/index.html\""] [build] target = "index.html" dist = "dist"