forked from withastro/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
36 lines (27 loc) · 855 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[build.environment]
NPM_FLAGS = "--version"
[build]
command = "npx pnpm install --store=node_modules/.pnpm-store && npx pnpm build"
ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- /"
[[redirects]]
from = "/en/reference/renderer-reference"
to = "/en/reference/integrations-reference"
[[redirects]]
from = "/en/core-concepts/component-hydration"
to = "/en/concepts/islands"
[[redirects]]
from = "/:lang/core-concepts/partial-hydration"
to = "/:lang/concepts/islands"
[[redirects]]
from = "/en/guides/debugging"
to = "/en/guides/troubleshooting"
[[redirects]]
from = "/en/quick-start"
to = "/en/installation"
[[redirects]]
from = "/:lang/deploy/:service"
to = "/:lang/guides/deploy/:service"
[[redirects]]
from = "/:lang/*"
to = "/:lang/404/"
status = 404