mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-29 09:32:57 +03:00
89650a4eb1
# 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
13 lines
532 B
TOML
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
|