Remove no-optional flag to fix cloudflare pages deploy issue with esbuild install.

This commit is contained in:
Dillon Kearns 2022-02-23 18:01:42 -08:00
parent 2edb61cb74
commit 0ca946421f

View File

@ -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"
},