Files
directus/docs/netlify.toml
Rijk van Zanten c723085902 Move docs to monorepo (#18052)
* Move docs to monorepo

* Tweaks
2023-04-04 18:23:58 -04:00

24 lines
511 B
TOML

[build.environment]
NODE_VERSION = "16"
NPM_FLAGS = "--version" # prevent Netlify npm install
[build]
publish = ".vitepress/dist"
command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npx pnpm build"
[dev]
command = "pnpm run dev"
targetPort = 5173
autoLaunch = false
framework = "#custom"
[[redirects]]
from = "/"
to = "/getting-started/introduction"
status = 301
force = true
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200