elm-pages-v3-beta/netlify.toml
Dillon Kearns 89650a4eb1 Merge branch 'serverless' into static-files
# Conflicts:
#	examples/docs/package-lock.json
#	examples/docs/src/Template/BlogIndex.elm
#	examples/docs/src/Template/Page.elm
#	generator/src/cli.js
#	netlify.toml
#	package-lock.json
#	package.json
#	src/Pages/Internal/Platform/Cli.elm
#	tests/BetaStaticHttpRequestsTests.elm
#	tests/StaticHttpRequestsTests.elm
2021-04-05 19:49:08 -07:00

13 lines
532 B
TOML

[build]
base = "examples/docs/"
functions = "functions/"
publish = "dist/"
command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install && npx --no-install elm-tooling install) && npm install && npm run build && find dist -name \"*.html\" -type f -delete && cp ./elm-stuff/elm-pages/elm.js functions/render/elm-pages-cli.js"
ignore = "git diff --quiet HEAD^ HEAD `git rev-parse --show-toplevel`"
[[redirects]]
from = "/*"
to = "/.netlify/functions/render"
status = 200
# force = true