diff --git a/netlify.toml b/netlify.toml index bcc2cb1..2140c37 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,5 @@ [build] - command = "go install github.com/a-h/templ/cmd/templ@latest && templ generate ./src && sh ./build.sh" + command = "go install github.com/a-h/templ/cmd/templ@latest && $GOPATH/bin/templ generate ./src/components && sleep 2 && sh ./build.sh" functions = "functions" publish = "public"