Skip to content

Commit

Permalink
Reenable lighthouse thresholds (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Aug 6, 2022
1 parent 0adb606 commit 725a92a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,18 @@

[[plugins]]
package = "netlify-plugin-checklinks"

[[plugins]]
package = "@netlify/plugin-lighthouse"

# optional, fails build when a category is below a threshold
[plugins.inputs.thresholds]
performance = 0.75
accessibility = 0.95
best-practices = 0.95
seo = 0.95
pwa = 0.2

# optional, deploy the lighthouse report to a path under your site
[plugins.inputs]
output_path = "reports/lighthouse.html"

0 comments on commit 725a92a

Please sign in to comment.