-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
69 lines (50 loc) · 1.25 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
## General build settings
[build]
command = "npx pnpm build"
publish = "dist"
[build.environment]
NODE_VERSION = "16"
NPM_FLAGS = "--version" # prevent auto npm install
[build.processing]
skip_processing = false
[build.processing.html]
pretty_urls = false
[build.processing.css]
bundle = false
minify = true
[build.processing.js]
bundle = false
minify = true
[build.processing.images]
compress = true
[context.deploy-preview.processing.images]
compress = false
[[plugins]]
package = "./plugins/pnpm-preinstaller"
## Redirect vanity domain
[[redirects]]
from = "https://goldenboy.productions"
to = "https://goldenboyproductions.ca"
status = 301
force = true
[[redirects]]
from = "https://goldenboy.productions/*"
to = "https://goldenboyproductions.ca/:splat"
status = 301
force = true
## Redirect bare Netlify address
[[redirects]]
from = "https://golden-boy-productions.netlify.app"
to = "https://goldenboyproductions.ca"
status = 301
force = true
[[redirects]]
from = "https://golden-boy-productions.netlify.app/*"
to = "https://goldenboyproductions.ca/:splat"
status = 301
force = true
## Redirects for special pages
# [[redirects]]
# from = "/your-student-government"
# to = "/features/your-student-government"
# status = 301