-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
63 lines (48 loc) · 1.45 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
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
[[redirects]]
from = "/posts/2021-02-28-11ty-and-rollup"
to = "/blog/2021-02-28-11ty-and-rollup"
[[redirects]]
from = "/posts/2021-02-28-11ty-and-rollup/"
to = "/blog/2021-02-28-11ty-and-rollup/"
[[redirects]]
from = "/webdev-sins/button-as-link/"
to = "/webdev-sins/2022-01-05-button-as-link/"
[[redirects]]
from = "/webdev-sins/button-as-link/"
to = "/webdev-sins/2022-01-05-button-as-link/"
[[redirects]]
from = "/webdev-sins/render-static-content-on-the-client/"
to = "/webdev-sins/2022-01-26-render-static-content-on-the-client/"
[[redirects]]
from = "/webdev-sins/vdom-is-faster/"
to = "/webdev-sins/2022-01-26-vdom-is-faster/"
[[redirects]]
from = "/webdev-sins/vw-font-size/"
to = "/webdev-sins/2022-02-07-vw-font-size/"
[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [
"_site/img", # Eleventy Image Disk Cache
".cache" # Remote Asset Cache
]
[[plugins]]
package = "@netlify/plugin-lighthouse"
[plugins.inputs]
fail_deploy_on_score_thresholds = "true"
[plugins.inputs.thresholds]
performance = 0.95
accessibility = 1
best-practices = 1
seo = 1
pwa = 1
[[plugins.inputs.audits]]
path = "/"
[[plugins.inputs.audits]]
path = "blog/"
[[plugins.inputs.audits]]
path = "blog/2022-07-29-starter-packs/"