forked from unocss/unocss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
executable file
·38 lines (31 loc) · 728 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
38
[build.environment]
NODE_VERSION = "18"
NODE_OPTIONS = "--max_old_space_size=4096"
[build]
publish = "docs/dist"
command = "pnpm run deploy"
[functions]
node_bundler = "esbuild"
[[redirects]]
from = "/play/*"
to = "/play/index.html"
status = 200
[[redirects]]
from = "/interactive/*"
to = "/interactive/index.html"
status = 200
[[redirects]]
from = "https://unocss.antfu.me/*"
to = "https://uno.antfu.me/play/:splat"
status = 302
force = true
[[redirects]]
from = "https://uno.antfu.me/play/*"
to = "https://unocss.dev/play/:splat"
status = 302
force = true
[[redirects]]
from = "https://uno.antfu.me/*"
to = "https://unocss.dev/interactive/:splat"
status = 302
force = true