carbon-components-svelte/examples/routify/netlify.toml
2021-02-03 23:17:51 +07:00

23 lines
No EOL
429 B
TOML

[build]
publish = "dist"
functions = "api/netlify"
command = "npm run build && cd api/netlify && npm run build"
# Dev doesn't work yet. Any takers?
# [dev]
# command = "npm run dev:ssr"
# targetPort = 5000
# publish = "assets"
# autoLaunch = true
[[redirects]]
# SSR and SPA
from = "/*"
to = "/.netlify/functions/ssr"
status = 200
# SPA only
# from = "/*"
# to = "/__app.html"
# status = 200