Skip to content

Commit aed059c

Browse files
committed
Upgrade lighthouse plugin
1 parent 0c12405 commit aed059c

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

netlify.toml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,24 @@
1515
[plugins.inputs]
1616
todoPatterns = [" public/pt/user-surveys", " public/ja/user-surveys"]
1717

18+
####
19+
## FIX: Removed so we can use new version of lighthouse
20+
## ❯ Outdated plugins
21+
## - @netlify/plugin-lighthouse@2.1.3: latest version is 3.2.0
22+
## To upgrade this plugin, please remove it from "netlify.toml" and
23+
## install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1824

19-
[[plugins]]
20-
package = "@netlify/plugin-lighthouse"
21-
22-
# optional, fails build when a category is below a threshold
23-
[plugins.inputs.thresholds]
24-
performance = 0.4
25-
accessibility = 0.9
26-
best-practices = 0.9
27-
seo = 0.7
28-
pwa = 0.2
29-
30-
# optional, deploy the lighthouse report to a path under your site
31-
[plugins.inputs]
32-
output_path = "reports/lighthouse.html"
25+
#[[plugins]]
26+
# package = "@netlify/plugin-lighthouse"
27+
#
28+
# # optional, fails build when a category is below a threshold
29+
# [plugins.inputs.thresholds]
30+
# performance = 0.4
31+
# accessibility = 0.9
32+
# best-practices = 0.9
33+
# seo = 0.7
34+
# pwa = 0.2
35+
#
36+
# # optional, deploy the lighthouse report to a path under your site
37+
# [plugins.inputs]
38+
# output_path = "reports/lighthouse.html"

0 commit comments

Comments
 (0)