-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
executable file
·37 lines (31 loc) · 762 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
36
37
[build.environment]
NPM_FLAGS = "--prefix=/dev/null"
NODE_VERSION = "20"
PLAYWRIGHT_BROWSERS_PATH = "0"
[build]
publish = ".vitepress/dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
[[redirects]]
from = "/new"
to = "https://stackblitz.com/fork/slidev?file=slides.md"
status = 302
force = true
[[redirects]]
from = "https://slidev.antfu.me/*"
to = "https://sli.dev/:splat"
status = 301
force = true
[[redirects]]
from = "/demo/composable-vue/*"
to = "https://demo.sli.dev/composable-vue"
status = 301
force = true
[[redirects]]
from = "/demo/starter/*"
to = "https://demo.sli.dev/starter"
status = 301
force = true
[[redirects]]
from = "/*"
to = "/index.html"
status = 200