From e2297cd52fb0a52635a2ea8ab398c812bbf75a28 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Mon, 9 Jan 2023 11:29:22 -0800 Subject: [PATCH] Add build generator step to netlify build command. --- examples/pokedex/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pokedex/netlify.toml b/examples/pokedex/netlify.toml index a3b71135..637e1a86 100644 --- a/examples/pokedex/netlify.toml +++ b/examples/pokedex/netlify.toml @@ -1,7 +1,7 @@ [build] functions = "functions/" publish = "dist/" - command = "mkdir bin && export PATH=\"/opt/build/repo/examples/pokedex/bin:$PATH\" && echo $PATH && curl https://static.lamdera.com/bin/linux/lamdera -o bin/lamdera && chmod a+x bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install) && npm install && npm run generate:tailwind && npm run generate:graphql && npm run build && cp secret-note.txt functions/server-render/" + command = "mkdir bin && export PATH=\"/opt/build/repo/examples/pokedex/bin:$PATH\" && echo $PATH && curl https://static.lamdera.com/bin/linux/lamdera -o bin/lamdera && chmod a+x bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install && npm run build:generator) && npm install && npm run generate:tailwind && npm run generate:graphql && npm run build && cp secret-note.txt functions/server-render/" [dev] command = "npm start"