forked from twilio-labs/paste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
103 lines (79 loc) · 2.13 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[functions]
external_node_modules = ["@swc"]
[context.deploy-preview.environment]
NEXT_PUBLIC_ENVIRONMENT_CONTEXT = "deploy-preview"
[context.branch-deploy.environment]
NEXT_PUBLIC_ENVIRONMENT_CONTEXT = "branch-deploy"
[context.production.environment]
NEXT_PUBLIC_ENVIRONMENT_CONTEXT = "production"
# INTRODUCTION/
[[redirects]]
from = '/getting-started/design'
to = '/introduction/for-designers/design-guidelines'
[[redirects]]
from = "/getting-started/engineering"
to = "/introduction/for-engineers/quickstart"
[[redirects]]
from = '/getting-started/manual-installation'
to = '/introduction/for-engineers/manual-installation'
[[redirects]]
from = '/icons/how-to-add-an-icon'
to = '/introduction/contributing/icons'
[[redirects]]
from = '/patterns/contribute'
to = '/introduction/contributing/patterns'
[[redirects]]
from = '/principles'
to = '/introduction/about-paste'
[[redirects]]
from = '/getting-started/faqs'
to = '/introduction/about-paste'
[[redirects]]
from = '/getting-started/working-guide'
to = '/introduction/working-with-us'
# FOUNDATIONS/
[[redirects]]
from = '/content/*'
to = '/foundations/content/:splat'
[[redirects]]
from = '/illustrations'
to = '/foundations/illustrations'
# COMPONENTS/
[[redirects]]
from = '/icons/*'
to = '/components/icon/:splat'
[[redirects]]
from = '/components/icons/*'
to = '/components/icon/:splat'
[[redirects]]
from = '/layout/*'
to = '/components/:splat'
# CORE/
[[redirects]]
from = '/libraries/*'
to = '/core/libraries/:splat'
# THEME/
[[redirects]]
from = '/core/theme-package'
to = '/theme/'
[[redirects]]
from = '/tokens/theme-package'
to = '/theme/'
[[redirects]]
from = '/core/changing-theme'
to = '/theme/changing-theme'
# CUSTOMIZATION/
[[redirects]]
from = "/tokens/how-to-compose-custom-ui-with-tokens"
to = "/customization/composing-custom-components-with-design-tokens"
# BLOG/
[[redirects]]
from = '/articles'
to = '/blog'
[[headers]]
for = "/*"
[headers.values]
X-Shenanigans = "none"
[build.environment]
YARN_ENABLE_GLOBAL_CACHE = "true"
YARN_GLOBAL_FOLDER = "/opt/buildhome/.yarn_cache"