From 0ca946421fb2f5e77e030da7d0a24c5e287bea5c Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Wed, 23 Feb 2022 18:01:42 -0800 Subject: [PATCH] Remove no-optional flag to fix cloudflare pages deploy issue with esbuild install. --- examples/docs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/docs/package.json b/examples/docs/package.json index b8e04f8c..34af7886 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -4,7 +4,7 @@ "description": "Example site built with elm-pages.", "scripts": { "start": "elm-pages dev", - "vercel-build": "(cd ../../ && npm install --no-optional) && npm install && curl https://static.lamdera.com/bin/linux/lamdera -o ./node_modules/.bin/lamdera && chmod a+x ./node_modules/.bin/lamdera && npx --no-install elm-tooling install && npx elm-pages build", + "vercel-build": "(cd ../../ && npm install) && npm install && curl https://static.lamdera.com/bin/linux/lamdera -o ./node_modules/.bin/lamdera && chmod a+x ./node_modules/.bin/lamdera && npx --no-install elm-tooling install && npx elm-pages build", "start:https": "elm-pages dev --https", "build": "elm-pages build --keep-cache" },