mirror of
https://github.com/dillonkearns/elm-pages.git
synced 2024-09-11 09:05:28 +03:00
16 lines
508 B
TOML
16 lines
508 B
TOML
[build]
|
|
base = "examples/docs/"
|
|
functions = "functions/"
|
|
publish = "dist/"
|
|
command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install && npm run build:generator) && npm install && npx --no-install elm-tooling install && npx elm-pages build && (cd functions/process-url && npm i)"
|
|
|
|
[[redirects]]
|
|
from = "/screenshot/*"
|
|
to = "/.netlify/functions/screenshot"
|
|
status = 200
|
|
|
|
[dev]
|
|
command = "npm start"
|
|
targetPort = 1234
|
|
autoLaunch = true
|
|
framework = "#custom" |