forked from redwoodjs/redwoodjs-com-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
54 lines (45 loc) · 1.2 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
[dev]
command = "cameronjs dev"
publish = "publish"
port = 8080
[build]
command = "yarn build"
publish = "publish"
functions = "functions"
# For more settings see https://www.netlify.com/docs/netlify-toml-reference/#post-processing
[build.processing]
skip_processing = false
[build.processing.css]
minify = true
[build.processing.js]
minify = true
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true
[context.production]
environment = { NODE_ENV = "production"}
[context.branch-deploy]
environment = { NODE_ENV = "production" }
[[redirects]]
from = "/docs/*"
to = "https://redwoodjs-docs.netlify.app/docs/:splat"
status = 200
force = true
[[redirects]]
from = "/tutorial"
to = "/docs/tutorial/welcome-to-redwood"
status = 301
force = true
[[redirects]]
from = "/assets/*"
to = "https://redwoodjs-docs.netlify.app/assets/:splat"
status = 200
force = true
[[redirects]]
from = "/newsletter"
to = "https://redwoodjs.us19.list-manage.com/subscribe/post?u=0c27354a06a7fdf4d83ce07fc&id=09f634eea4"
force = true
[[redirects]]
from ="/community"
to ="https://community.redwoodjs.com/t/welcome-to-the-redwoodjs-community/2416"