Skip to content

Commit 725a92a

Browse files
Reenable lighthouse thresholds (#285)
1 parent 0adb606 commit 725a92a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

netlify.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,18 @@
44

55
[[plugins]]
66
package = "netlify-plugin-checklinks"
7+
8+
[[plugins]]
9+
package = "@netlify/plugin-lighthouse"
10+
11+
# optional, fails build when a category is below a threshold
12+
[plugins.inputs.thresholds]
13+
performance = 0.75
14+
accessibility = 0.95
15+
best-practices = 0.95
16+
seo = 0.95
17+
pwa = 0.2
18+
19+
# optional, deploy the lighthouse report to a path under your site
20+
[plugins.inputs]
21+
output_path = "reports/lighthouse.html"

0 commit comments

Comments
 (0)