From e057535e99f00310861232e02aa3567d36efa536 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 14 May 2021 14:19:51 -0700 Subject: [PATCH] Add npm install command for new serverless function. --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 6c6ec889..8c7355e7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,7 +2,7 @@ base = "examples/docs/" functions = "functions/" publish = "dist/" - command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install) && npm install --no-optional && npm run build && cp ./elm-stuff/elm-pages/elm.js functions/render/elm-pages-cli.js" + command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npx --no-install elm-tooling install) && npm install --no-optional && npm run build && cp ./elm-stuff/elm-pages/elm.js functions/render/elm-pages-cli.js && (cd functions/process-url && npm i)" ignore = "git diff --quiet HEAD^ HEAD `git rev-parse --show-toplevel`" [[redirects]]